feat: expand superadmin edits and minio docs
This commit is contained in:
@@ -72,3 +72,29 @@ type SuperPayoutAccountReviewForm struct {
|
||||
// Reason 审核说明(驳回时必填)。
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
// SuperPayoutAccountCreateForm 超管创建结算账户参数。
|
||||
type SuperPayoutAccountCreateForm struct {
|
||||
// UserID 收款账户归属用户ID。
|
||||
UserID int64 `json:"user_id" validate:"required"`
|
||||
// Type 账户类型(bank/alipay)。
|
||||
Type string `json:"type" validate:"required,oneof=bank alipay"`
|
||||
// Name 账户名称/开户行。
|
||||
Name string `json:"name" validate:"required,max=128"`
|
||||
// Account 收款账号。
|
||||
Account string `json:"account" validate:"required,max=128"`
|
||||
// Realname 收款人姓名。
|
||||
Realname string `json:"realname" validate:"required,max=128"`
|
||||
}
|
||||
|
||||
// SuperPayoutAccountUpdateForm 超管更新结算账户参数。
|
||||
type SuperPayoutAccountUpdateForm struct {
|
||||
// Type 账户类型(bank/alipay,可选)。
|
||||
Type *string `json:"type" validate:"omitempty,oneof=bank alipay"`
|
||||
// Name 账户名称/开户行(可选)。
|
||||
Name *string `json:"name" validate:"omitempty,max=128"`
|
||||
// Account 收款账号(可选)。
|
||||
Account *string `json:"account" validate:"omitempty,max=128"`
|
||||
// Realname 收款人姓名(可选)。
|
||||
Realname *string `json:"realname" validate:"omitempty,max=128"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user