aa
This commit is contained in:
@@ -1195,3 +1195,18 @@ func (c *StoreController) UpdateBrandUser() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 根据品牌自动创建或更新快递门店
|
||||
// @Description 根据品牌自动创建或更新快递门店
|
||||
// @Param token header string true "认证token"
|
||||
// @Param brandID formData int true "品牌ID"
|
||||
// @Param vendorID formData int true "平台ID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /UpdateOrCreateCourierStoresByBrand [post]
|
||||
func (c *StoreController) UpdateOrCreateCourierStoresByBrand() {
|
||||
c.callUpdateOrCreateCourierStoresByBrand(func(params *tStoreUpdateOrCreateCourierStoresByBrandParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.UpdateOrCreateCourierStoresByBrand(params.Ctx, params.BrandID, params.VendorID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user