1
This commit is contained in:
@@ -6,6 +6,8 @@ import (
|
|||||||
"git.rosy.net.cn/jx-callback/globals"
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"git.rosy.net.cn/jx-callback/globals/api"
|
"git.rosy.net.cn/jx-callback/globals/api"
|
||||||
"github.com/astaxie/beego/server/web"
|
"github.com/astaxie/beego/server/web"
|
||||||
|
beego "github.com/astaxie/beego/server/web"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TiktokController struct {
|
type TiktokController struct {
|
||||||
@@ -26,6 +28,10 @@ func (t *TiktokController) CallbackTiktokOrderMsg() {
|
|||||||
t.ServeJSON()
|
t.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if beego.BConfig.RunMode == "beta" && !strings.Contains(string(byteList), "53802960") {
|
||||||
|
t.Data["json"] = tiktok_api.CallbackResponse{Code: tiktok_api.CallbackSuccessCode, Msg: tiktok_api.CallbackSuccess}
|
||||||
|
t.ServeJSON()
|
||||||
|
}
|
||||||
|
|
||||||
// 2.参数解析
|
// 2.参数解析
|
||||||
globals.SugarLogger.Debug("抖音订单回调数据参数打印===========", string(byteList))
|
globals.SugarLogger.Debug("抖音订单回调数据参数打印===========", string(byteList))
|
||||||
|
|||||||
Reference in New Issue
Block a user