- adjust package structure.
This commit is contained in:
@@ -2,7 +2,7 @@ package controller
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/platform/mtpsapi"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/globals2"
|
||||
)
|
||||
|
||||
type OrderController struct {
|
||||
@@ -18,9 +18,9 @@ func Error2Response(err error) *mtpsapi.MtpsCallbackResponse {
|
||||
}
|
||||
|
||||
func (c *OrderController) OrderStatusChanged(order *mtpsapi.MtpsCallbackOrderMsg) *mtpsapi.MtpsCallbackResponse {
|
||||
return Error2Response(globals.FreshFoodAPI.MtpsOrderStatusChanged(order))
|
||||
return Error2Response(globals2.FreshFoodAPI.MtpsOrderStatusChanged(order))
|
||||
}
|
||||
|
||||
func (c *OrderController) OrderException(order *mtpsapi.MtpsCallbackOrderExceptionMsg) *mtpsapi.MtpsCallbackResponse {
|
||||
return Error2Response(globals.FreshFoodAPI.MtpsOrderException(order))
|
||||
return Error2Response(globals2.FreshFoodAPI.MtpsOrderException(order))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user