新增 修改提现审核状态

This commit is contained in:
2023-11-01 10:45:01 +08:00
parent dda86b626d
commit 5e5d25f1bd
8 changed files with 464 additions and 5 deletions
+13
View File
@@ -3,6 +3,8 @@ package requests
type DoctorWithdrawalRequest struct {
GetDoctorWithdrawalPage // 获取医生提现列表-分页
GetDoctorWithdrawalOrderPage // 提现详情-关联订单列表-分页
PutDoctorWithdrawalIncome // 修改提现个人所得税
PutDoctorWithdrawalExamine // 修改提现审核状态
}
// GetDoctorWithdrawalPage 获取医生提现列表-分页
@@ -22,3 +24,14 @@ type GetDoctorWithdrawalOrderPage struct {
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
}
// PutDoctorWithdrawalIncome 修改提现个人所得税
type PutDoctorWithdrawalIncome struct {
IncomeTax float64 `json:"income_tax" form:"income_tax" validate:"required" label:"个人所得税金额"`
}
// PutDoctorWithdrawalExamine 修改提现审核状态
type PutDoctorWithdrawalExamine struct {
ExamineStatus int `json:"examine_status" form:"examine_status" validate:"required,oneof=2 3" label:"审核状态"` // (1:审核中 2:审核通过 3:审核未通过)
ExamineFailReason string `json:"examine_fail_reason" form:"examine_fail_reason" label:"审核失败原因"`
}