Commit c71d04ae by Administrator

Merge branch 'fixbug/h5' into 'master'

feat:[1004458]H5落地页改版,以及板式自定义配置

See merge request rays/pcloud-book!1265
parents 45cf26cc ab974681
......@@ -239,9 +239,9 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
//预览二维码
String qrcodeLink;
if (null != bookGroupId) {
qrcodeLink = "https://wechat666.raysgo.com/rayh5/book?bookGroupId="+bookGroupId;
qrcodeLink = BookProps.getWechatDomain()+"/rayh5/book?bookGroupId="+bookGroupId;
} else {
qrcodeLink = "https://wechat666.raysgo.com/rayh5/book?sceneId="+sceneId;
qrcodeLink = BookProps.getWechatDomain()+"/rayh5/book?sceneId="+sceneId;
}
resourcePageDao.insert(resourcePage);
ThreadPoolUtils.OTHER_POOL.execute(()->{
......@@ -1253,13 +1253,11 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
if (null == resourcePage) {
continue;
}
if (StringUtil.isEmpty(resourcePage.getQrcodeUrl())) {
//预览二维码
String qrcodeLink = BookProps.getWechatDomain()+"/rayh5/book?bookGroupId="+bookGroupId;
String qrcodeUrl = QrcodeUtils.createWithMargin(qrcodeLink, 1);
resourcePage.setQrcodeUrl(qrcodeUrl);
resourcePageDao.update(resourcePage);
}
//预览二维码
String qrcodeLink = BookProps.getWechatDomain()+"/rayh5/book?bookGroupId="+bookGroupId;
String qrcodeUrl = QrcodeUtils.createWithMargin(qrcodeLink, 1);
resourcePage.setQrcodeUrl(qrcodeUrl);
resourcePageDao.update(resourcePage);
}
}
......
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