| | |
| | | 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.DappMemberDao; |
| | | import cc.mrbird.febs.dapp.mapper.DappSystemProfitDao; |
| | | import cc.mrbird.febs.dapp.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.dapp.mapper.*; |
| | | import cc.mrbird.febs.dapp.service.DappMemberService; |
| | | import cc.mrbird.febs.dapp.vo.AdminAgentLevelSetInfoVo; |
| | | import cc.mrbird.febs.dapp.vo.AdminSystemFeeVo; |
| | | import cc.mrbird.febs.dapp.vo.DappMemberInfoVo; |
| | | import cn.hutool.core.util.ObjectUtil; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | |
| | | private final DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | private final DappSystemProfitDao dappSystemProfitDao; |
| | | private final DappMemberDao dappMemberDao; |
| | | private final DappWalletCoinDao dappWalletCoinDao; |
| | | private final DappWalletMineDao dappWalletMineDao; |
| | | |
| | | @GetMapping(value = "admin") |
| | | @RequiresPermissions("admin:view") |
| | |
| | | @RequiresPermissions("withdraw:view") |
| | | public String memberWithdraw() { |
| | | return FebsUtil.view("dapp/member-withdraw"); |
| | | } |
| | | |
| | | @GetMapping("memberCharge") |
| | | @RequiresPermissions("charge:view") |
| | | public String memberCharge() { |
| | | return FebsUtil.view("dapp/member-charge"); |
| | | } |
| | | |
| | | @GetMapping("walletCoin") |
| | |
| | | model.addAttribute("agentLevelSet", data); |
| | | return FebsUtil.view("dapp/member-agent-level"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 拨付 |
| | | * @return |
| | | */ |
| | | @GetMapping("mallSystemPay/{type}/{id}") |
| | | @RequiresPermissions("agentLevel:view") |
| | | public String systemPay(@PathVariable long id, @PathVariable Integer type, Model model) { |
| | | DappMemberInfoVo data = dappMemberDao.selectDappMemberInfoVoByMemberId(id); |
| | | model.addAttribute("systemPay", data); |
| | | model.addAttribute("type", type); |
| | | return FebsUtil.view("dapp/mallSystemPay"); |
| | | } |
| | | |
| | | /** |
| | | * 个人-资金流水 |
| | | * @param id |
| | | * @param model |
| | | * @return |
| | | */ |
| | | public static long idMemberMoneyFlow; |
| | | @GetMapping("memberFlow/{id}") |
| | | @RequiresPermissions("agentLevel:view") |
| | | public String memberFlow(@PathVariable long id, Model model) { |
| | | idMemberMoneyFlow = id; |
| | | return FebsUtil.view("dapp/memberMoneyFlow"); |
| | | } |
| | | } |