feat: add payout account review flow
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package dto
|
||||
|
||||
import "quyun/v2/app/requests"
|
||||
import (
|
||||
"quyun/v2/app/requests"
|
||||
"quyun/v2/pkg/consts"
|
||||
)
|
||||
|
||||
type ApplyForm struct {
|
||||
// Name 频道/创作者名称。
|
||||
@@ -206,6 +209,14 @@ type PayoutAccount struct {
|
||||
Account string `json:"account"`
|
||||
// Realname 收款人姓名。
|
||||
Realname string `json:"realname"`
|
||||
// Status 审核状态(pending/approved/rejected)。
|
||||
Status consts.PayoutAccountStatus `json:"status"`
|
||||
// StatusDescription 审核状态描述(用于展示)。
|
||||
StatusDescription string `json:"status_description"`
|
||||
// ReviewedAt 审核时间(RFC3339)。
|
||||
ReviewedAt string `json:"reviewed_at"`
|
||||
// ReviewReason 审核说明/驳回原因。
|
||||
ReviewReason string `json:"review_reason"`
|
||||
}
|
||||
|
||||
type WithdrawForm struct {
|
||||
|
||||
Reference in New Issue
Block a user