美团配送差异

This commit is contained in:
苏尹岚
2020-09-29 11:57:06 +08:00
parent 7f6681beb3
commit f8cb087ab4
2 changed files with 16 additions and 1 deletions

View File

@@ -912,5 +912,11 @@ func (c *StoreController) StoreAudit() {
// @Failure 200 {object} controllers.CallResult
// @router /GetDiffJxStoreAndMTWMStoreInfo [post]
func (c *StoreController) GetDiffJxStoreAndMTWMStoreInfo() {
c.callGetDiffJxStoreAndMTWMStoreInfo(func(params *tStoreGetDiffJxStoreAndMTWMStoreInfoParams) (retVal interface{}, errCode string, err error) {
var storeIDs []int
if err = utils.UnmarshalUseNumber([]byte(params.StoreIDs), &storeIDs); err == nil {
err = cms.GetDiffJxStoreAndMTWMStoreInfo(params.Ctx, storeIDs)
}
return retVal, "", err
})
}

View File

@@ -1971,6 +1971,15 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"],
beego.ControllerComments{
Method: "GetDiffJxStoreAndMTWMStoreInfo",
Router: `/GetDiffJxStoreAndMTWMStoreInfo`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"],
beego.ControllerComments{
Method: "GetJdDeliveryArea",