| | |
| | | import cc.mrbird.febs.common.entity.FebsConstant; |
| | | import cc.mrbird.febs.common.utils.FebsUtil; |
| | | import cc.mrbird.febs.common.utils.RedisUtils; |
| | | import cc.mrbird.febs.dapp.entity.DappMemberEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappSystemProfit; |
| | | import cc.mrbird.febs.dapp.entity.DataDictionaryCustom; |
| | | import cc.mrbird.febs.dapp.enumerate.DataDictionaryEnum; |
| | | import cc.mrbird.febs.dapp.mapper.DappSystemProfitDao; |
| | | import cc.mrbird.febs.dapp.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.dapp.service.DappMemberService; |
| | | import cc.mrbird.febs.dapp.vo.AdminSystemFeeVo; |
| | |
| | | |
| | | private final RedisUtils redisUtils; |
| | | private final DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | private final DappSystemProfitDao dappSystemProfitDao; |
| | | |
| | | @GetMapping(value = "admin") |
| | | @RequiresPermissions("admin:view") |
| | |
| | | model.addAttribute("systemFee", adminSystemFeeVo); |
| | | return FebsUtil.view("dapp/system-fee-set"); |
| | | } |
| | | |
| | | /** |
| | | * 动能列表 |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "systemProfit") |
| | | @RequiresPermissions("systemProfit:view") |
| | | public String systemProfit() { |
| | | return FebsUtil.view("dapp/system-profit"); |
| | | } |
| | | |
| | | |
| | | public static long systemProfitId; |
| | | /** |
| | | * 动能列表-流水详情 |
| | | * @param id |
| | | * @param model |
| | | * @return |
| | | */ |
| | | @GetMapping("/systemProfitFlow/{id}") |
| | | @RequiresPermissions("systemProfitFlow:view") |
| | | public String systemProfitFlow(@PathVariable long id, Model model) { |
| | | systemProfitId = id; |
| | | return FebsUtil.view("dapp/system-profit-flow"); |
| | | } |
| | | |
| | | public static long teamInfoMemberId; |
| | | /** |
| | | * 用户列表-团队详情 |
| | | * @param id |
| | | * @param model |
| | | * @return |
| | | */ |
| | | @GetMapping("/teamInfo/{id}") |
| | | @RequiresPermissions("teamInfo:view") |
| | | public String teamInfo(@PathVariable long id, Model model) { |
| | | teamInfoMemberId = id; |
| | | return FebsUtil.view("dapp/member-teamInfo"); |
| | | } |
| | | } |