| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | /** |
| | | * @author wzy |
| | | * @author |
| | | * @date 2022-03-21 |
| | | **/ |
| | | @Controller("dappView") |
| | |
| | | @RequiresPermissions("admin:update") |
| | | public String updateUser() { |
| | | return FebsUtil.view("dapp/userUpdate"); |
| | | } |
| | | |
| | | @GetMapping(value = "admin/simulate") |
| | | @RequiresPermissions("admin:simulate") |
| | | public String simulate() { |
| | | return FebsUtil.view("dapp/simulate-data"); |
| | | } |
| | | |
| | | @GetMapping(value = "admin/simulateResult/{batch}") |
| | | public String simulateResult(@PathVariable("batch") String batch, Model model) { |
| | | String url = "https://antethvip.com/index.html?isDev=true&batchNo=" + batch; |
| | | model.addAttribute("url", url); |
| | | return FebsUtil.view("dapp/simulate-result"); |
| | | } |
| | | |
| | | |
| | |
| | | public String returnRatio() { |
| | | return FebsUtil.view("dapp/return-ratio"); |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "agentReturn") |
| | | @RequiresPermissions("agentReturn:view") |
| | | public String agentReturn() { |
| | | return FebsUtil.view("dapp/agent-return"); |
| | | } |
| | | |
| | | } |