Commit 9c8a03fd by 陶光胜

小程序二维码生成

parent 3f7b11b9
......@@ -119,13 +119,13 @@ public class CustomGuideApiServiceImpl implements CustomGuideApiService {
TabCustomGuide guide = guideList.get(i);
String title = guide.getTitle();
String icon = guide.getIcon();
JSONObject iconJson = JSONObject.parseObject(icon);
String _path = "images/" + iconJson.getString("cur") + "/" + iconJson.getString("idx") + "/";
String selectedIconPath = _path + "activeicon" + iconJson.getString("url") + ".png";
String iconPath = _path + "icon" + iconJson.getString("url") + ".png";
//JSONObject iconJson = JSONObject.parseObject(icon);
//String _path = "images/" + iconJson.getString("cur") + "/" + iconJson.getString("idx") + "/";
//String selectedIconPath = _path + "activeicon" + iconJson.getString("url") + ".png";
//String iconPath = _path + "icon" + iconJson.getString("url") + ".png";
Map<String, Object> listMap = new HashMap<String, Object>();
listMap.put("selectedIconPath", selectedIconPath);
listMap.put("iconPath", iconPath);
listMap.put("selectedIconPath", "");
listMap.put("iconPath", null);
listMap.put("pagePath", guide.getCustomPage());
pathSet.add(guide.getCustomPage()) ;
listMap.put("text", title);
......
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