1
This commit is contained in:
@@ -1687,20 +1687,13 @@ func (c *StoreController) BatchUpdateMTStoreLogos() {
|
||||
// @Description 批量绑定淘鲜达门店
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrgCode formData string true "账号id"
|
||||
// @Param storeID formData int true "本地门店id"
|
||||
// @Param bindInfos formData string true "TaoBindInfo"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /SingleBindTaoVegetable [post]
|
||||
func (c *StoreController) SingleBindTaoVegetable() {
|
||||
c.callSingleBindTaoVegetable(func(params *tStoreSingleBindTaoVegetableParams) (retVal interface{}, hint string, err error) {
|
||||
taoBindInfo := make([]cms.TaoBindInfo, 0)
|
||||
b := bytes.NewBufferString(params.BindInfos)
|
||||
decoder := json.NewDecoder(b)
|
||||
if err = decoder.Decode(&taoBindInfo); err == nil {
|
||||
err, hint = cms.SingleBindTaoVegetable(params.Ctx, taoBindInfo, params.VendorOrgCode)
|
||||
}
|
||||
return nil, hint, err
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// @Title 更新淘鲜达门店信息
|
||||
|
||||
Reference in New Issue
Block a user