!305 fix bug: 小程序分享二维码,请求参数类型应为Object

Merge pull request !305 from GeekMo/master
This commit is contained in:
Chopper711 2023-10-19 01:54:44 +00:00 committed by Gitee
commit 96cfb8a8ce
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -109,7 +109,7 @@ public class WechatMpCodeUtil {
shortLink = shortLinkService.queryShortLinks(shortLink).get(0);
}
String accessToken = wechatAccessTokenUtil.cgiAccessToken(ClientTypeEnum.WECHAT_MP);
Map<String, String> params = new HashMap<>(4);
Map<String, Object> params = new HashMap<>(4);
params.put("page", page);
params.put("scene", shortLink.getId());
params.put("width", "280");