1
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user