Merge remote-tracking branch 'origin/mark' into yonghui

This commit is contained in:
苏尹岚
2019-12-11 18:12:33 +08:00
17 changed files with 325 additions and 323 deletions

View File

@@ -291,21 +291,21 @@ func (c *SkuController) DeleteSkuNamePlace() {
})
}
// @Title 远程查询厂商SKU信息
// @Description 远程查询厂商SKU信息这个是实时调用API远程查询不推荐使用
// @Param token header string true "认证token"
// @Param vendorSkuID query string true "sku ID"
// @Param vendorID query int true "门店所属的厂商ID"
// @Param vendorOrgCode query string false "厂商内组织代码"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetVendorSku [get]
func (c *SkuController) GetVendorSku() {
c.callGetVendorSku(func(params *tSkuGetVendorSkuParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetVendorSku(params.Ctx, params.VendorID, params.VendorOrgCode, params.VendorSkuID)
return retVal, "", err
})
}
// // @Title 远程查询厂商SKU信息
// // @Description 远程查询厂商SKU信息这个是实时调用API远程查询不推荐使用
// // @Param token header string true "认证token"
// // @Param vendorSkuID query string true "sku ID"
// // @Param vendorID query int true "门店所属的厂商ID"
// // @Param vendorOrgCode query string false "厂商内组织代码"
// // @Success 200 {object} controllers.CallResult
// // @Failure 200 {object} controllers.CallResult
// // @router /GetVendorSku [get]
// func (c *SkuController) GetVendorSku() {
// c.callGetVendorSku(func(params *tSkuGetVendorSkuParams) (retVal interface{}, errCode string, err error) {
// retVal, err = cms.GetVendorSku(params.Ctx, params.VendorID, params.VendorOrgCode, params.VendorSkuID)
// return retVal, "", err
// })
// }
// @Title 同步商家SKU
// @Description 同步商家SKU