|
|
@@ -43,7 +43,7 @@ public class ScenicQRCodeService {
|
|
|
+ RandomStringUtils.randomAlphabetic(8)
|
|
|
+ ".png";
|
|
|
byte[] bytes = wxMaService.getQrcodeService()
|
|
|
- .createWxaCodeUnlimitBytes("location=" + scenicQRCode.getId(),
|
|
|
+ .createWxaCodeUnlimitBytes(scenicQRCode.getId().toString(),
|
|
|
"pages/home", 512, false, new WxMaCodeLineColor("255", "255", "255"), true);
|
|
|
String url = storageService.uploadFromInputStream(new ByteArrayInputStream(bytes), path);
|
|
|
scenicQRCode.setUrl(url);
|