- jd token call back.

This commit is contained in:
gazebo
2018-09-28 14:13:28 +08:00
parent 40affb2707
commit b00201bfca

View File

@@ -5,6 +5,7 @@ import (
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
)
@@ -90,3 +91,9 @@ func (c *DjswController) PushDeliveryStatus() {
func (c *DjswController) OrderCommentPush() {
c.orderStatus(false)
}
func (c *DjswController) Token() {
globals.SugarLogger.Info(string(c.Ctx.Input.RequestBody))
c.Data["json"] = jdapi.Err2CallbackResponse(nil, "")
c.ServeJSON()
}