- jd token call back.
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
|||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/jdapi"
|
"git.rosy.net.cn/baseapi/platformapi/jdapi"
|
||||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
|
"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"
|
"git.rosy.net.cn/jx-callback/globals/api"
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
)
|
)
|
||||||
@@ -90,3 +91,9 @@ func (c *DjswController) PushDeliveryStatus() {
|
|||||||
func (c *DjswController) OrderCommentPush() {
|
func (c *DjswController) OrderCommentPush() {
|
||||||
c.orderStatus(false)
|
c.orderStatus(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *DjswController) Token() {
|
||||||
|
globals.SugarLogger.Info(string(c.Ctx.Input.RequestBody))
|
||||||
|
c.Data["json"] = jdapi.Err2CallbackResponse(nil, "")
|
||||||
|
c.ServeJSON()
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user