feat: add Go backend
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package withdrawalorder
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/withdrawalOrder/list" method:"get" tags:"提现管理" summary:"提现订单列表"`
|
||||
sysin.WithdrawalOrderListInp
|
||||
}
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.WithdrawalOrderListModel `json:"list"`
|
||||
}
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/withdrawalOrder/view" method:"get" tags:"提现管理" summary:"提现订单详情(仅脱敏账户)"`
|
||||
sysin.WithdrawalOrderViewInp
|
||||
}
|
||||
type ViewRes struct {
|
||||
*sysin.WithdrawalOrderListModel
|
||||
}
|
||||
type ReviewReq struct {
|
||||
g.Meta `path:"/withdrawalOrder/review" method:"post" tags:"提现管理" summary:"提交提现审核"`
|
||||
sysin.WithdrawalReviewInp
|
||||
}
|
||||
type ReviewRes struct{ *sysin.FinanceApprovalModel }
|
||||
type ExecuteReq struct {
|
||||
g.Meta `path:"/withdrawalOrder/execute" method:"post" tags:"提现管理" summary:"执行已审批提现审核"`
|
||||
sysin.FinanceExecuteInp
|
||||
}
|
||||
type ExecuteRes struct{}
|
||||
type CompleteReq struct {
|
||||
g.Meta `path:"/withdrawalOrder/complete" method:"post" tags:"提现管理" summary:"登记提现付款结果"`
|
||||
sysin.WithdrawalCompleteInp
|
||||
}
|
||||
type CompleteRes struct{}
|
||||
Reference in New Issue
Block a user