| | |
| | | } |
| | | |
| | | @PreventRepeat(limit = 10, lockTime = 10000) |
| | | @ApiOperation("微信小程序登录") |
| | | @GetMapping("/wxProgramLogin") |
| | | public ApiResponse<WxLoginVO> wxProgramLogin (@RequestParam String unionId,@RequestParam String openId, HttpServletRequest request) { |
| | | return ApiResponse.success(wxLoginService.wxProgramLogin(unionId,openId, request)); |
| | | } |
| | | |
| | | @PreventRepeat(limit = 10, lockTime = 10000) |
| | | @ApiOperation("微信登录账号密码") |
| | | @PostMapping("/wxAccountLogin") |
| | | public ApiResponse<String> wxAccountLogin (@Validated @RequestBody WxLoginDTO dto, HttpServletRequest request) { |