1
This commit is contained in:
@@ -19,7 +19,7 @@ func (c *FnController) FnOrder() {
|
||||
msg, callbackResponse := api.FnAPI.GetChainOrderStatusNotify(c.Ctx.Request)
|
||||
fmt.Println("开始回调订单状态==========================msg", msg)
|
||||
fmt.Println("开始回调订单状态==========================callbackResponse", callbackResponse)
|
||||
if callbackResponse.Code != 1 {
|
||||
if callbackResponse.Code == -1 {
|
||||
c.Data["json"] = callbackResponse
|
||||
c.ServeJSON()
|
||||
return
|
||||
@@ -41,7 +41,7 @@ func (c *FnController) FnAbnormal() {
|
||||
msg, callbackResponse := api.FnAPI.GetChainAbnormaltatusNotify(c.Ctx.Request)
|
||||
fmt.Println("开始回调异常回调==========================msg", msg)
|
||||
fmt.Println("开始回调异常回调==========================callbackResponse", callbackResponse)
|
||||
if callbackResponse.Code != 1 {
|
||||
if callbackResponse.Code == -1 {
|
||||
c.Data["json"] = callbackResponse
|
||||
c.ServeJSON()
|
||||
return
|
||||
@@ -62,7 +62,7 @@ func (c *FnController) FnStore() {
|
||||
msg, callbackResponse := api.FnAPI.GetChainstoreStatusNotify(c.Ctx.Request)
|
||||
fmt.Println("开始回调门店回掉==========================msg", msg)
|
||||
fmt.Println("开始回调门店回掉==========================callbackResponse", callbackResponse)
|
||||
if callbackResponse.Code != 1 {
|
||||
if callbackResponse.Code == -1 {
|
||||
c.Data["json"] = callbackResponse
|
||||
c.ServeJSON()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user