- fk
This commit is contained in:
@@ -157,8 +157,8 @@ jdToken = "84541069-fbe2-424b-b625-9b2ba1d4c9e6"
|
||||
jdAppKey = "5d5577a2506f41b8b4ec520ba83490f5"
|
||||
jdSecret = "0b01b9eeb15b41dab1c3d05d95c17a26"
|
||||
|
||||
ebaiSource = "34665"
|
||||
ebaiSecret = "c3db75b754ea2d89"
|
||||
ebaiSource = "62289"
|
||||
ebaiSecret = "d3ec2358d6a819ea"
|
||||
|
||||
disableElm = true
|
||||
disableMtwm = true
|
||||
|
||||
@@ -4,9 +4,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/ebai"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
@@ -21,10 +19,9 @@ func (c *EbaiController) Msg() {
|
||||
if callbackResponse == nil {
|
||||
callbackResponse = ebai.OnCallbackMsg(obj)
|
||||
}
|
||||
if callbackResponse == nil || globals.IsCallbackAlwaysReturnSuccess() {
|
||||
if callbackResponse == nil {
|
||||
callbackResponse = api.EbaiAPI.Err2CallbackResponse(ebaiapi.GetCmd(c.Ctx.Request), nil, nil)
|
||||
}
|
||||
globals.SugarLogger.Debugf("ebai Msg callbackResponse:%s", utils.Format4Output(callbackResponse, false))
|
||||
c.Data["json"] = callbackResponse
|
||||
c.ServeJSON()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user