huwhois 5 years ago
parent
commit
b05d702530

+ 2 - 0
src/main/java/io/renren/modules/admin/moneyaccount/controller/MoneyAccountController.java

@ -2,6 +2,7 @@ package io.renren.modules.admin.moneyaccount.controller;
2 2
3 3
import java.util.Arrays;
4 4
import java.util.Map;
5
import java.util.Date;
5 6
6 7
import org.apache.shiro.authz.annotation.RequiresPermissions;
7 8
import org.springframework.beans.factory.annotation.Autowired;
@ -60,6 +61,7 @@ public class MoneyAccountController {
60 61
    @RequestMapping("/save")
61 62
    @RequiresPermissions("admin:moneyaccount:save")
62 63
    public R save(@RequestBody MoneyAccountEntity moneyAccount){
64
        moneyAccount.setCreateTime(new Date());
63 65
		moneyAccountService.save(moneyAccount);
64 66
65 67
        return R.ok();