Mr.Zhang
2023-10-16 9d6d3cbcd640dcc2ca2f65d85c9be0942391abe5
server/src/main/java/doumeemes/api/system/SystemController.java
@@ -78,8 +78,8 @@
    @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)