|  |  | 
 |  |  | package com.xcong.excoin.modules.member.controller; | 
 |  |  |  | 
 |  |  | import com.xcong.excoin.common.controller.BaseController; | 
 |  |  | import com.xcong.excoin.common.entity.FebsConstant; | 
 |  |  | import com.xcong.excoin.common.utils.FebsUtil; | 
 |  |  | import com.xcong.excoin.modules.member.service.IMemberService; | 
 |  |  | import com.xcong.excoin.modules.member.vo.MemberAuthenticationVo; | 
 |  |  |  | 
 |  |  | 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; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |  **/ | 
 |  |  | @Controller("memberView") | 
 |  |  | @RequestMapping(FebsConstant.VIEW_PREFIX + "modules/member") | 
 |  |  | public class ViewController { | 
 |  |  |  | 
 |  |  | @RequiredArgsConstructor | 
 |  |  | public class ViewController extends BaseController{ | 
 |  |  | 	 | 
 |  |  |    private final IMemberService memberService; | 
 |  |  | 	 | 
 |  |  |     @GetMapping("member") | 
 |  |  |     @RequiresPermissions("member:view") | 
 |  |  |     public String member() { | 
 |  |  |         return FebsUtil.view("modules/member/member"); | 
 |  |  |     } | 
 |  |  |      | 
 |  |  |     /** | 
 |  |  |     @GetMapping("memberDetail/{id}") | 
 |  |  |     @RequiresPermissions("member:update") | 
 |  |  |     public String memberDetail(@PathVariable long id, Model model) { | 
 |  |  |        MemberAuthenticationVo data = memberService.selectMemberAuthenticationById(id); | 
 |  |  |        model.addAttribute("member", data); | 
 |  |  |         return FebsUtil.view("modules/member/memberDetail"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |      * 会员充值USDT记录 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  | 
 |  |  |         return FebsUtil.view("modules/member/chargeUsdt"); | 
 |  |  |     } | 
 |  |  |      | 
 |  |  |     /** | 
 |  |  |      * 会员USDT提现记录 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping("extractUsdt") | 
 |  |  |     @RequiresPermissions("extractUsdt:view") | 
 |  |  |     public String extractUsdt() { | 
 |  |  |         return FebsUtil.view("modules/member/extractUsdt"); | 
 |  |  |     } | 
 |  |  |      | 
 |  |  |     /** | 
 |  |  |      * 充币记录 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping("applyCoin") | 
 |  |  |     @RequiresPermissions("applyCoins:view") | 
 |  |  |     public String applyCoin() { | 
 |  |  |         return FebsUtil.view("modules/member/applyCoin"); | 
 |  |  |     } | 
 |  |  |      | 
 |  |  |     /** | 
 |  |  |      * 提币记录 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping("withdrawCoin") | 
 |  |  |     @RequiresPermissions("withdrawCoins:view") | 
 |  |  |     public String withdrawCoin() { | 
 |  |  |         return FebsUtil.view("modules/member/withdrawCoin"); | 
 |  |  |     } | 
 |  |  |      | 
 |  |  |      | 
 |  |  | } |