- change skuName place bind to bare bind.

This commit is contained in:
gazebo
2018-09-13 21:49:00 +08:00
parent 99c60d2233
commit 20c3c0341a
3 changed files with 43 additions and 16 deletions

View File

@@ -159,10 +159,10 @@ func (c *SkuController) AddSkuName() {
}
// @Title 修改商品名信息
// @Description 修改商品名信息
// @Description 修改商品名信息注意如果Places没有变动不要传此字段否则会导致不必要的删除与新增
// @Param token header string true "认证token"
// @Param nameID formData int true "需要修改的商品名IDpayload中的相应数据会被忽略"
// @Param payload formData string true "json数据SkuNameExt对象()Skus, Places效"
// @Param payload formData string true "json数据SkuNameExt对象()Skus无效, Places效"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateSkuName [put]
@@ -240,8 +240,8 @@ func (c *SkuController) DeleteSku() {
})
}
// @Title 新增商品名可售地点绑定
// @Description 新增商品名可售地点绑定
// @Title 新增商品名可售地点绑定(不推荐使用)
// @Description 新增商品名可售地点绑定(不推荐使用)
// @Param token header string true "认证token"
// @Param nameID formData int true "商品名ID"
// @Param placeCode formData int true "地点代码"
@@ -255,8 +255,8 @@ func (c *SkuController) AddSkuNamePlace() {
})
}
// @Title 删除商品
// @Description 删除商品
// @Title 删除商品名可售地点绑定(不推荐使用)
// @Description 删除商品名可售地点绑定(不推荐使用)
// @Param token header string true "认证token"
// @Param nameID query int true "商品名ID"
// @Param placeCode query int true "地点代码"