This commit is contained in:
richboo111
2022-11-14 09:31:23 +08:00
parent ccdc014385
commit 848107bd2c
5 changed files with 117 additions and 22 deletions

View File

@@ -222,6 +222,15 @@ func (c *SkuController) UpdateSkuName() {
})
}
// @Title 仅修改商品图片
// @Description 仅在本地数据库修改商品图片
// @Param token header string true "认证token"
// @Param skuID formData int true "需要修改的商品名IDpayload中的相应数据会被忽略"
// @Param payload formData string true "json数据SkuName对象() 只使用图片字段"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateSkuImgs [put]
// @Title 删除商品名
// @Description 此前商品名下的所有商品也会被级连删除
// @Param token header string true "认证token"