chore: 补充 order.api 定义,新增 ActivateOrder 接口
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m49s
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m49s
This commit is contained in:
parent
1372510abf
commit
b9cc33ad70
@ -33,6 +33,9 @@ type (
|
||||
PaymentId int64 `json:"payment_id,omitempty"`
|
||||
TradeNo string `json:"trade_no,omitempty"`
|
||||
}
|
||||
ActivateOrderRequest {
|
||||
OrderNo string `json:"order_no" validate:"required"`
|
||||
}
|
||||
GetOrderListRequest {
|
||||
Page int64 `form:"page" validate:"required"`
|
||||
Size int64 `form:"size" validate:"required"`
|
||||
@ -64,5 +67,9 @@ service ppanel {
|
||||
@doc "Update order status"
|
||||
@handler UpdateOrderStatus
|
||||
put /status (UpdateOrderStatusRequest)
|
||||
|
||||
@doc "Manually activate order"
|
||||
@handler ActivateOrder
|
||||
post /activate (ActivateOrderRequest)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user