1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"net/http"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/dadaapi"
|
||||
@@ -19,6 +20,7 @@ func (c *DadaDeliveryController) Msg() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
obj, callbackResponse := api.DadaAPI.GetOrderCallbackMsg(c.Ctx.Input.RequestBody)
|
||||
if callbackResponse == nil {
|
||||
globals.SugarLogger.Debugf("---------err := %s", utils.Format4Output(obj, false))
|
||||
callbackResponse = dada.OnWaybillMsg(obj)
|
||||
}
|
||||
if callbackResponse != nil && callbackResponse.Code != 200 {
|
||||
|
||||
Reference in New Issue
Block a user