|
|
@@ -367,10 +367,10 @@ public class AuthAccessTokenServiceImpl extends ServiceImpl<AuthAccessTokenMappe
|
|
|
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("page", "pages/welcome/welcome");
|
|
|
- param.put("scene", "s=" + map.get("openid"));
|
|
|
- param.put("checkPath", false);
|
|
|
+ param.put("scene", "s=" + map.get("openid")); //
|
|
|
+ param.put("check_path", false);
|
|
|
String url = config.getUnlimitedQRCode() + accessToken;
|
|
|
- String filePath = this.createDirByPath("Qr_code") + java.util.UUID.randomUUID().toString() + ".jpeg";
|
|
|
+ String filePath = this.createDirByPath("qr_code") + java.util.UUID.randomUUID().toString() + ".png";
|
|
|
ResponseResultVO<String> responseResultVO = HttpUtils.postReturnFile(url, param, filePath);
|
|
|
System.out.println("getWxQrCode:" + filePath);
|
|
|
return ResponseResultUtil.success(responseResultVO);
|