- adjust package structure.
This commit is contained in:
@@ -2,7 +2,7 @@ package controllers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/jd/controller"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/globals2"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
@@ -24,7 +24,7 @@ func (c *JDOrderController) URLMapping() {
|
||||
}
|
||||
|
||||
func (c *JDOrderController) orderStatus() {
|
||||
obj, callbackResponse := globals.Jdapi.GetOrderMsg(c.Ctx.Request)
|
||||
obj, callbackResponse := globals2.Jdapi.GetOrderMsg(c.Ctx.Request)
|
||||
if callbackResponse == nil {
|
||||
cc := controller.OrderController{}
|
||||
callbackResponse = cc.OrderStatus(obj)
|
||||
@@ -130,7 +130,7 @@ func (c *JDOrderController) ApplyCancelOrder() {
|
||||
// @Failure 403 body is empty
|
||||
// @router /pushDeliveryStatus [post]
|
||||
func (c *JDOrderController) PushDeliveryStatus() {
|
||||
obj, callbackResponse := globals.Jdapi.GetOrderDeliveryMsg(c.Ctx.Request)
|
||||
obj, callbackResponse := globals2.Jdapi.GetOrderDeliveryMsg(c.Ctx.Request)
|
||||
if callbackResponse == nil {
|
||||
cc := controller.OrderController{}
|
||||
callbackResponse = cc.OrderDeliveryStatus(obj)
|
||||
|
||||
Reference in New Issue
Block a user