This commit is contained in:
richboo111
2023-02-06 14:03:39 +08:00
parent 21810c2c45
commit b35aa9f8bb

View File

@@ -48,6 +48,7 @@ func (a *API) WaybillCallback(request *http.Request) (*WaybillCallbackParam, *Ca
if err := decoder.Decode(&retVal); err != nil {
return nil, Err2CallbackResponse(errors.New("uu跑腿回调参数解析错误,请检查"))
}
globals.SugarLogger.Debugf("uupt WaybillCallback retVal======%s", utils.Format4Output(retVal, false))
con := retVal != WaybillCallbackParam{}
if con {
return &retVal, Err2CallbackResponse(nil)