旗开得胜

This commit is contained in:
2025-04-24 11:49:32 +08:00
parent ac5dd03c79
commit 2577c614d5
10 changed files with 362 additions and 10 deletions

View File

@ -75,7 +75,7 @@ public class WechatGetQrcodeController {
*/
@PostMapping("/get/qrcode")
@Operation(summary = "微信小程序获取二维码", description = "参数:无, 权限:所有人, 方法名getQrcode")
public BaseResponse<String> getQrcode(HttpServletRequest request) throws IOException {
public BaseResponse<String> getQrcode() throws IOException {
String accessToken = (String) redisTemplate.opsForValue().get(ACCESS_TOKEN_KEY);
if (accessToken == null) {
accessToken = wechatGetQrcodeService.getAccessToken().getAccess_token();