f
This commit is contained in:
@@ -64,10 +64,13 @@ func (l *VehicleCallbackLogic) Handle(r *http.Request) error {
|
||||
)
|
||||
}
|
||||
|
||||
l.Infof("tianyuan vehicle callback start, api_id=%s, order_no=%s", apiID, orderNo)
|
||||
|
||||
bodyBytes, err := io.ReadAll(r.Body)
|
||||
if err != nil {
|
||||
return errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "读取回调 Body 失败: %v", err)
|
||||
}
|
||||
l.Infof("tianyuan vehicle callback body received, api_id=%s, order_no=%s, body_len=%d", apiID, orderNo, len(bodyBytes))
|
||||
|
||||
// 1. 根据订单号找到订单
|
||||
order, err := l.svcCtx.OrderModel.FindOneByOrderNo(l.ctx, orderNo)
|
||||
|
||||
Reference in New Issue
Block a user