This commit is contained in:
richboo111
2023-07-12 15:43:21 +08:00
parent 8b192ad547
commit 04f70bbb83
2 changed files with 7 additions and 7 deletions

View File

@@ -1682,6 +1682,7 @@ func (c *StoreController) SingleBindTaoVegetable() {
// @Title 更新淘鲜达门店信息
// @Description 更新淘鲜达门店信息
// @Param token header string true "认证token"
// @Param vendorOrgCode formData string true "平台账号"
// @Param txdStores formData string true "TxdStore"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
@@ -1692,7 +1693,7 @@ func (c *StoreController) UpdateTxdStore() {
b := bytes.NewBufferString(params.TxdStores)
decoder := json.NewDecoder(b)
if err = decoder.Decode(&taoStore); err == nil {
err = tao_vegetable.UpdateTxdStore(taoStore)
err = tao_vegetable.UpdateTxdStore(taoStore, params.VendorOrgCode)
}
return nil, "", err
})