txd
This commit is contained in:
@@ -1658,6 +1658,25 @@ func (c *StoreController) BatchUpdateMTStoreLogos() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 批量绑定淘鲜达门店
|
||||
// @Description 批量绑定淘鲜达门店
|
||||
// @Param token header string true "认证token"
|
||||
// @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)
|
||||
}
|
||||
return nil, hint, err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 测试操作freight_template
|
||||
// @Description 测试操作freight_template
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user