| | |
| | | |
| | | @ApiOperation(value = "注销", notes = "注销") |
| | | @PostMapping(value = "/logout") |
| | | @Limit(key = "logout", period = 5, count = 1, name = "注册", prefix = "limit",limitType = LimitType.IP) |
| | | public FebsResponse logout() { |
| | | return memberService.logout(); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "编辑个人信息", notes = "编辑个人信息") |
| | | @PostMapping(value = "/modifyInfo") |
| | | @Limit(key = "modifyInfo", period = 5, count = 1, name = "注册", prefix = "limit",limitType = LimitType.IP) |
| | | @Limit(key = "modifyInfo", period = 1, count = 1, name = "注册", prefix = "limit",limitType = LimitType.IP) |
| | | public FebsResponse modifyInfo(@RequestBody @Validated ModifyMemberInfoDto modifyMemberInfoDto) { |
| | | return memberService.modifyMemberInfo(modifyMemberInfoDto); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "更改密码", notes = "更改密码") |
| | | @PostMapping(value = "/forgetPwd") |
| | | @Limit(key = "forgetPwd", period = 5, count = 1, name = "注册", prefix = "limit",limitType = LimitType.IP) |
| | | @Limit(key = "forgetPwd", period = 1, count = 1, name = "注册", prefix = "limit",limitType = LimitType.IP) |
| | | public FebsResponse forgetPwd(@RequestBody @Validated ForgetPwdDto forgetPwdDto) { |
| | | return memberService.forgetPwd(forgetPwdDto); |
| | | } |
| | | |
| | | @ApiOperation(value = "我的售后服务", notes = "我的售后服务") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = MallSalesServiceVo.class) |
| | | }) |
| | | @GetMapping(value = "/salesService") |
| | | public FebsResponse salesService() { |
| | | return memberService.salesService(); |
| | | } |
| | | |
| | | } |