This commit is contained in:
邹宗楠
2025-07-14 13:55:00 +08:00
parent 62b56c3696
commit b570f93015

View File

@@ -3,11 +3,9 @@ package controllers
import (
"encoding/json"
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego/server/web"
"io/ioutil"
@@ -23,7 +21,6 @@ type MtwmController struct {
}
var MTWMVendorStoreIDMap = new(sync.Map)
var StoreMap2Gy = make(map[string]string, 0)
func (c *MtwmController) onCallbackMsg(msgType string) {
msg, callbackResponse := api.MtwmAPI.GetCallbackMsg(c.Ctx.Request)
@@ -66,9 +63,6 @@ func (c *MtwmController) onCallbackMsg(msgType string) {
}
}
if time.Now().After(utils.Str2Time("2025-07-14 12:40:00")) {
globals.SugarLogger.Debugf("StoreMap2Gy-----%s", utils.Format4Output(StoreMap2Gy, false))
}
c.Data["json"] = callbackResponse
c.ServeJSON()
}