linxk 2 semanas atrás
pai
commit
7ab3ff0ada

+ 2 - 2
cif-service/src/main/java/com/txz/cif/web/mng/WithdrawRecordController.java

@@ -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) {