修复提现拒绝审核参数校验

This commit is contained in:
yml2213
2026-07-05 20:33:47 +08:00
parent 1984e07e91
commit 7937b0df8a
6 changed files with 53 additions and 4 deletions
@@ -230,6 +230,8 @@ func writeError(c *gin.Context, err error) {
response.BadRequest(c, "提现金额超过最大限额")
case ErrWithdrawalLocked:
response.BadRequest(c, "提现申请状态已锁定,无法操作")
case ErrInvalidReviewAction:
response.BadRequest(c, "审核参数无效")
case ErrUnauthorized:
response.Unauthorized(c, "无权限操作")
default: