diff --git a/platformapi/tao_vegetable/api_model.go b/platformapi/tao_vegetable/api_model.go index fcbab991..e83ccfac 100644 --- a/platformapi/tao_vegetable/api_model.go +++ b/platformapi/tao_vegetable/api_model.go @@ -48,6 +48,13 @@ func CallBackResultInfo(err error) *CallBackResult { // CallBackResultSign 签名错误 func CallBackResultSign(err error) *CallBackResult { + if err == nil { + return &CallBackResult{ + Success: false, + ErrCode: "sign-check-failure", + ErrMsg: "", + } + } return &CallBackResult{ Success: false, ErrCode: "sign-check-failure", diff --git a/platformapi/tao_vegetable/order_model.go b/platformapi/tao_vegetable/order_model.go index 47da4bb8..57e622ba 100644 --- a/platformapi/tao_vegetable/order_model.go +++ b/platformapi/tao_vegetable/order_model.go @@ -71,12 +71,12 @@ type SubRefundOrdersList struct { // UserCancelRefundApply 用户取消售后申请 type UserCancelRefundApply struct { //PublicModel - RefundId string `json:"refundId"` // 渠道退款单ID, 幂等键 + MerchantCode int64 `json:"merchantCode"` // 商家编码 BizRefundId string `json:"bizRefundId"` // 翱象退款单ID OutOrderId string `json:"outOrderId"` // 渠道订单ID OrderFrom int64 `json:"orderFrom"` // 渠道来源 - MerchantCode int64 `json:"merchantCode"` // 商家编码 StoreId int64 `json:"storeId"` // 商家经营店ID + RefundId string `json:"refundId"` // 渠道退款单ID, 幂等键 } // RefundOrderFinish 逆向订单完成回调(售后完成)