1
This commit is contained in:
@@ -592,11 +592,11 @@ func (a *API) GetCallbackOrderId(msgId string, data interface{}) (string, int64,
|
||||
}
|
||||
return utils.Int64ToStr(create.PId), int64(create.ShopId), Err2CallbackResponse(nil, "")
|
||||
case CallbackReturnRefundAgreedMsgTagId: // 同意退款消息
|
||||
create := AppointmentChangeData{}
|
||||
create := BusinessRefundSuccessData{}
|
||||
if err := utils.Map2StructByJson(data, &create, false); err != nil {
|
||||
return "", 0, CallbackResponseErr(false)
|
||||
}
|
||||
return create.PId, create.ShopId, Err2CallbackResponse(nil, "")
|
||||
return utils.Int64ToStr(create.PId), create.ShopId, Err2CallbackResponse(nil, "")
|
||||
case CallbackRefundClosedMsgTagId: // 当买家取消申请或系统超时机制导致退款取消时,会推送此消息
|
||||
create := UserCancelRefundOrderData{}
|
||||
if err := utils.Map2StructByJson(data, &create, false); err != nil {
|
||||
|
||||
@@ -411,16 +411,16 @@ type BusinessRefundSuccessCallback struct {
|
||||
|
||||
type BusinessRefundSuccessData struct {
|
||||
AftersaleId int64 `json:"aftersale_id"`
|
||||
AftersaleStatus int `json:"aftersale_status"`
|
||||
AftersaleType int `json:"aftersale_type"`
|
||||
AftersaleStatus int64 `json:"aftersale_status"`
|
||||
AftersaleType int64 `json:"aftersale_type"`
|
||||
PId int64 `json:"p_id"`
|
||||
ReasonCode int `json:"reason_code"`
|
||||
RefundAmount int `json:"refund_amount"`
|
||||
RefundPostAmount int `json:"refund_post_amount"`
|
||||
RefundVoucherNum int `json:"refund_voucher_num"`
|
||||
ReasonCode int64 `json:"reason_code"`
|
||||
RefundAmount int64 `json:"refund_amount"`
|
||||
RefundPostAmount int64 `json:"refund_post_amount"`
|
||||
RefundVoucherNum int64 `json:"refund_voucher_num"`
|
||||
SId int64 `json:"s_id"`
|
||||
ShopId int `json:"shop_id"`
|
||||
SuccessTime int `json:"success_time"`
|
||||
ShopId int64 `json:"shop_id"`
|
||||
SuccessTime int64 `json:"success_time"`
|
||||
UpdateTime time.Time `json:"update_time"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user