xiongzhu hace 5 años
padre
commit
7bd17a1513
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/izouma/jiashanxia/service/UserService.java

+ 1 - 1
src/main/java/com/izouma/jiashanxia/service/UserService.java

@@ -505,7 +505,7 @@ public class UserService {
         g.drawImage(shareImg, 0, 0, null);
 
         byte[] bytes = wxMaService.getQrcodeService()
-                .createWxaCodeUnlimitBytes("invitor=" + userId, "pages/home", 94 * 2, false, new WxMaCodeLineColor("0", "0", "0"), true);
+                .createWxaCodeUnlimitBytes("expert=true&invitor=" + userId, "pages/home", 94 * 2, false, new WxMaCodeLineColor("0", "0", "0"), true);
         ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(bytes);
         BufferedImage codeImg = ImageIO.read(byteArrayInputStream);