| | |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.entity.MallMemberPayment; |
| | | import cc.mrbird.febs.mall.service.IApiMallMemberService; |
| | | import cc.mrbird.febs.mall.service.ICommonService; |
| | | import cc.mrbird.febs.mall.vo.MallMemberVo; |
| | | import cc.mrbird.febs.mall.vo.MoneyFlowVo; |
| | | import cc.mrbird.febs.mall.vo.TeamListVo; |
| | |
| | | |
| | | @ApiOperation(value = "修改用户信息") |
| | | @PostMapping(value = "/modifyInfo") |
| | | public FebsResponse modifyInfo(ModifyMemberInfoDto modifyMemberInfoDto) { |
| | | public FebsResponse modifyInfo(@RequestBody ModifyMemberInfoDto modifyMemberInfoDto) { |
| | | return memberService.modifyMemberInfo(modifyMemberInfoDto); |
| | | } |
| | | |
| | |
| | | public FebsResponse findPayment() { |
| | | return new FebsResponse().success().data(memberService.findMemberPayment()); |
| | | } |
| | | |
| | | @ApiOperation(value = "绑定手机号") |
| | | @PostMapping(value = "/bindPhone") |
| | | public FebsResponse bindPhone(@RequestBody AccountAndCodeDto accountAndCodeDto) { |
| | | memberService.bindPhone(accountAndCodeDto); |
| | | return new FebsResponse().success().message("绑定成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "可提现金额") |
| | | @GetMapping(value = "/canWithdrawal") |
| | | public FebsResponse canWithdrawal() { |
| | | return new FebsResponse().success().data(memberService.canMoney()); |
| | | } |
| | | } |