Commit 974abc63 by 陶光胜

生成观云台小程序二维码

parent 474ad600
......@@ -259,6 +259,7 @@ public class QrcodeController {
public RestResponse takeGytQrcode(){
String path = "pages/customView/customView";
String appkey = "wxba807000b40c9c78";
logger.info("生成观云台小程序二维码");
byte[] appletQrcode = this.createAppletQrcode(appkey, path, null);
UploadResult uploadResult = QqCloudPicUtils.uploadLocalPicStream("pic01", "", appletQrcode);
Map<String, Object> pic = new HashMap<>();
......@@ -266,6 +267,7 @@ public class QrcodeController {
pic.put("url", uploadResult.getUrl());
pic.put("downloadUrl", uploadResult.getDownloadUrl());
pic.put("path", path);
logger.info("观云台小程序二维码:{}", JSON.toJSONString(pic));
return RestResponse.success(pic);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment