|
@@ -122,7 +122,8 @@ public class WeChatMiniProgramUtil {
|
|
|
*/
|
|
|
public String generateQrCodeWithText(String scene, String page, String footerText) throws Exception {
|
|
|
byte[] qrCodeBytes = generateUnlimitedQrCode(scene, page);
|
|
|
- return addTextToQrCode(qrCodeBytes, footerText, null, 18, Color.BLACK);
|
|
|
+ String fontName = "wqy-microhei";
|
|
|
+ return addTextToQrCode(qrCodeBytes, footerText, fontName, 18, Color.BLACK);
|
|
|
}
|
|
|
|
|
|
|