|
@@ -57,16 +57,16 @@ public class SysUserCashAccountController extends BaseController {
|
|
@ApiOperation(value = "更新指定用户的账户课程余额")
|
|
@ApiOperation(value = "更新指定用户的账户课程余额")
|
|
@PostMapping("/updateCourseBalance")
|
|
@PostMapping("/updateCourseBalance")
|
|
@PreAuthorize("@pcs.hasPermissions('userCashAccount/updateCourseBalance')")
|
|
@PreAuthorize("@pcs.hasPermissions('userCashAccount/updateCourseBalance')")
|
|
- public Object updateCourseBalance(Integer userId, BigDecimal decimal) {
|
|
|
|
- sysUserCashAccountService.updateCourseBalance(userId,decimal,decimal,"后台更新课程余额");
|
|
|
|
|
|
+ public Object updateCourseBalance(Integer userId, BigDecimal decimal, String memo) {
|
|
|
|
+ sysUserCashAccountService.updateCourseBalance(userId,decimal,decimal, memo);
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "更新指定用户的账户可用余额")
|
|
@ApiOperation(value = "更新指定用户的账户可用余额")
|
|
@PostMapping("/updateBalance")
|
|
@PostMapping("/updateBalance")
|
|
@PreAuthorize("@pcs.hasPermissions('userCashAccount/updateBalance')")
|
|
@PreAuthorize("@pcs.hasPermissions('userCashAccount/updateBalance')")
|
|
- public Object updateBalance(Integer userId, BigDecimal decimal) {
|
|
|
|
- sysUserCashAccountService.updateBalance(userId,decimal,FILL_ACCOUNT,"后台更新可用余额");
|
|
|
|
|
|
+ public Object updateBalance(Integer userId, BigDecimal decimal, String memo) {
|
|
|
|
+ sysUserCashAccountService.updateBalance(userId,decimal,FILL_ACCOUNT, memo);
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
}
|
|
}
|