|
@@ -70,9 +70,9 @@ public class WithdrawRecordController {
|
|
|
List<BizLog> logs = bizLogService.findByCondition(c);
|
|
|
bo.setBizLogs(logs);
|
|
|
|
|
|
- Account wallet = accountService.getAccount(rechargeRecord.getUserId(), 1);
|
|
|
+ Account wallet = accountService.getAccount(withdrawRecord.getUserId(), 1);
|
|
|
bo.setWalletBalance(wallet.getBalance());
|
|
|
- Account earnings = accountService.getAccount(rechargeRecord.getUserId(), 2);
|
|
|
+ Account earnings = accountService.getAccount(withdrawRecord.getUserId(), 2);
|
|
|
bo.setEarningsBalance(earnings.getBalance());
|
|
|
return ResultGenerator.genSuccessResult(bo);
|
|
|
} catch (Exception e) {
|