fix:订单调整
This commit is contained in:
parent
a9ba1e1e38
commit
0db8e026a3
|
@ -114,23 +114,23 @@ type (
|
||||||
OrderSn string `json:"order_sn"`
|
OrderSn string `json:"order_sn"`
|
||||||
}
|
}
|
||||||
DeleteRes struct {
|
DeleteRes struct {
|
||||||
ErrorCode basic.StatusResponse
|
ErrorCode basic.StatusResponse `json:"error_code"`
|
||||||
OrderSn string
|
OrderSn string `json:"order_sn"`
|
||||||
}
|
}
|
||||||
/* 删除订单 */
|
/* 删除订单 */
|
||||||
|
|
||||||
/* 支付超时订单自动关闭 */
|
/* 支付超时订单自动关闭 */
|
||||||
CloseListReq struct {
|
CloseListReq struct {
|
||||||
Type int64 // type:1=关闭
|
Type int64 `json:"type"` // type:1=关闭
|
||||||
}
|
}
|
||||||
CloseListRes struct{}
|
CloseListRes struct{}
|
||||||
/* 支付超时订单自动关闭 */
|
/* 支付超时订单自动关闭 */
|
||||||
|
|
||||||
/* 关闭 */
|
/* 关闭 */
|
||||||
CloseReq struct {
|
CloseReq struct {
|
||||||
Type int64 // type:1=添加购物车
|
Type int64 `json:"type"` // type:1=添加购物车
|
||||||
OrderSn string
|
OrderSn string `json:"order_sn"`
|
||||||
UserId int64 `json:"user_id"`
|
UserId int64 `json:"user_id"`
|
||||||
}
|
}
|
||||||
CloseRes struct {
|
CloseRes struct {
|
||||||
ErrorCode basic.StatusResponse
|
ErrorCode basic.StatusResponse
|
||||||
|
@ -139,8 +139,8 @@ type (
|
||||||
|
|
||||||
/* 支付成功 */
|
/* 支付成功 */
|
||||||
PaymentSuccessfulReq struct {
|
PaymentSuccessfulReq struct {
|
||||||
EventId string
|
EventId string `json:"event_id"`
|
||||||
PaymentMethod string
|
PaymentMethod string `json:"payment_method"`
|
||||||
Charge *stripe.Charge
|
Charge *stripe.Charge
|
||||||
}
|
}
|
||||||
PaymentSuccessfulRes struct{}
|
PaymentSuccessfulRes struct{}
|
||||||
|
@ -191,7 +191,7 @@ type (
|
||||||
}
|
}
|
||||||
CreateRes struct {
|
CreateRes struct {
|
||||||
ErrorCode basic.StatusResponse
|
ErrorCode basic.StatusResponse
|
||||||
OrderSn string
|
OrderSn string `json:"order_sn"`
|
||||||
}
|
}
|
||||||
/* 下单 */
|
/* 下单 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user