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

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
+2 -1
View File
@@ -526,8 +526,9 @@ func assertWalletAndWithdrawal(t *testing.T, walletService *wallet.Service, with
assertEqual(t, "提现申请金额", req.AmountCent, int64(10000))
assertEqual(t, "提现申请状态", req.Status, "pending")
approved := true
reviewed, err := withdrawalService.Review(t.Context(), adminID, req.ID, withdrawal.ReviewWithdrawalRequest{
Approved: true,
Approved: &approved,
Remark: "E2E 审核通过",
})
if err != nil {