| | |
| | | String urlz = locaPath; |
| | | System.out.println(urlz); |
| | | //String url = "http://192.168.0.115:8080/#/mobileLayout/default"; |
| | | String url = "http://171.34.197.243:786/#/mobileLayout/default"; |
| | | String url = "https://dev.jxpskj.com:8023/zhjg/#/mobileLayout/default"; |
| | | String addressName = URLEncoder.encode(tagging.getAddressName(), "UTF-8"); |
| | | // JsonObject lan1 = new JsonObject(); |
| | | // lan1.addProperty("methods", URLEncoder.encode("goto", "UTF-8")); |
| | |
| | | // lan1.addProperty("name", URLEncoder.encode(tagging.getName(), "UTF-8")); |
| | | String gotos = URLEncoder.encode("goto","UTF-8"); |
| | | String jd = URLEncoder.encode(tagging.getJd(),"UTF-8"); |
| | | String x = URLEncoder.encode(tagging.getX(),"UTF-8"); |
| | | String wd = URLEncoder.encode(tagging.getWd(),"UTF-8"); |
| | | String name = URLEncoder.encode(tagging.getName(),"UTF-8"); |
| | | String content = url + "?methods=" + gotos+"&jd="+jd+"&wd="+wd+"&name="+name +"&addressName=" + addressName ; |
| | | String content = url + "?methods=" + gotos+"&jd="+jd+"&x="+x+"&wd="+wd+"&name="+name +"&addressName=" + addressName ; |
| | | //生成标注二维码 |
| | | byte[] qrCodeImage = QRCodeUtil.getQRCodeImage(content, 350, 350); |
| | | String encode = new BASE64Encoder().encode(qrCodeImage); |