修改退差价结算
This commit is contained in:
@@ -18,35 +18,6 @@ func (c *MtwmController) onCallbackMsg(msgType string) {
|
||||
c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "")
|
||||
msg, callbackResponse := api.MtwmAPI.GetCallbackMsg(c.Ctx.Request)
|
||||
if callbackResponse == nil {
|
||||
// 定时任务在拉去,暂时不推送了
|
||||
//if web.BConfig.RunMode != "jxgy" { // 订单查询不到所属门店默认为果园订单
|
||||
// vendorStoreId := msg.FormData.Get("app_poi_code")
|
||||
// if vendorStoreId == "" {
|
||||
// vendorStoreId = msg.FormData.Get("wm_poi_id")
|
||||
// }
|
||||
// if msgType == mtwmapi.MsgTypeOrderFinishedPickup {
|
||||
// finishedPickup := FinishedPickup{}
|
||||
// json.Unmarshal([]byte(msg.FormData.Get("pick_up_data")), &finishedPickup)
|
||||
// vendorStoreId = finishedPickup.AppPoiCode
|
||||
// }
|
||||
// if vendorStoreId != "" {
|
||||
// storeDetail, err2 := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreId, model.VendorIDMTWM, "")
|
||||
//
|
||||
// if storeDetail == nil {
|
||||
// // 推送到果园
|
||||
// if vendorStoreId == "9472886" {
|
||||
// globals.SugarLogger.Debugf("=====store:%s", utils.Format4Output(storeDetail, false))
|
||||
// globals.SugarLogger.Debugf("=====storeerr2:%s", utils.Format4Output(err2, false))
|
||||
// globals.SugarLogger.Debugf("=====msg.FormData:%s", utils.Format4Output(msg.FormData, false))
|
||||
// globals.SugarLogger.Debugf("=====msgType:%s", utils.Format4Output(msgType, false))
|
||||
// }
|
||||
// pushMTWMOrder2GY(msg.FormData, msgType)
|
||||
// c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "")
|
||||
// c.ServeJSON()
|
||||
// return
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
callbackResponse = mtwm.OnCallbackMsg(msg, msgType)
|
||||
if callbackResponse == nil {
|
||||
callbackResponse = mtwmapi.Err2CallbackResponse(nil, "")
|
||||
|
||||
Reference in New Issue
Block a user