This commit is contained in:
richboo111
2023-09-07 16:48:50 +08:00
parent cb6cad8229
commit 9be24c7e60
2 changed files with 4 additions and 3 deletions

View File

@@ -1661,6 +1661,7 @@ func (c *StoreController) BatchUpdateMTStoreLogos() {
// @Title 批量绑定淘鲜达门店
// @Description 批量绑定淘鲜达门店
// @Param token header string true "认证token"
// @Param vendorOrgCode formData string true "账号id"
// @Param bindInfos formData string true "TaoBindInfo"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
@@ -1671,7 +1672,7 @@ func (c *StoreController) SingleBindTaoVegetable() {
b := bytes.NewBufferString(params.BindInfos)
decoder := json.NewDecoder(b)
if err = decoder.Decode(&taoBindInfo); err == nil {
err, hint = cms.SingleBindTaoVegetable(params.Ctx, taoBindInfo)
err, hint = cms.SingleBindTaoVegetable(params.Ctx, taoBindInfo, params.VendorOrgCode)
}
return nil, hint, err
})