| | |
| | | @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)); |
| | | public ApiResponse<WxLoginVO> wxProgramLogin (@RequestParam String code, HttpServletRequest request) { |
| | | return ApiResponse.success(wxLoginService.wxProgramLogin(code, request)); |
| | | } |
| | | |
| | | @PreventRepeat(limit = 10, lockTime = 10000) |