- change alphpa jd key.
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/jdapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/promotion"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
@@ -94,8 +95,11 @@ func (c *DjswController) OrderCommentPush() {
|
||||
}
|
||||
|
||||
func (c *DjswController) Token() {
|
||||
globals.SugarLogger.Info(string(c.Ctx.Input.RequestBody))
|
||||
c.Data["json"] = jdapi.Err2CallbackResponse(nil, "")
|
||||
urlValues, err := utils.HTTPBody2Values(c.Ctx.Input.RequestBody, false)
|
||||
if err == nil {
|
||||
globals.SugarLogger.Info(utils.Format4Output(utils.URLValues2Map(urlValues), false))
|
||||
}
|
||||
c.Data["json"] = jdapi.Err2CallbackResponse(err, "")
|
||||
c.ServeJSON()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user