From 2ba582c538d9b42a94b31d975a67ac0477f4ca0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 25 May 2020 18:20:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=95=86=E5=9F=8E=E5=BB=BA?= =?UTF-8?q?=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/jds_callback.go | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/controllers/jds_callback.go b/controllers/jds_callback.go index 28d407538..aee913bc3 100644 --- a/controllers/jds_callback.go +++ b/controllers/jds_callback.go @@ -1,9 +1,6 @@ package controllers import ( - "git.rosy.net.cn/baseapi/platformapi/mtwmapi" - "git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm" - "git.rosy.net.cn/jx-callback/globals/api" "github.com/astaxie/beego" ) @@ -12,14 +9,14 @@ type JdsController struct { } func (c *JdsController) Msg(msgType string) { - c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "") - msg, callbackResponse := api.MtwmAPI.GetCallbackMsg(c.Ctx.Request) - if callbackResponse == nil { - callbackResponse = mtwm.OnCallbackMsg(msg) - if callbackResponse == nil { - callbackResponse = mtwmapi.Err2CallbackResponse(nil, "") - } - } - c.Data["json"] = callbackResponse - c.ServeJSON() + // c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "") + // msg, callbackResponse := api.MtwmAPI.GetCallbackMsg(c.Ctx.Request) + // if callbackResponse == nil { + // callbackResponse = mtwm.OnCallbackMsg(msg) + // if callbackResponse == nil { + // callbackResponse = mtwmapi.Err2CallbackResponse(nil, "") + // } + // } + // c.Data["json"] = callbackResponse + // c.ServeJSON() }