| | |
| | | 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 addressName = URLEncoder.encode(tagging.getAddressName(), "UTF-8"); |
| | | // JsonObject lan1 = new JsonObject(); |
| | | // lan1.addProperty("methods", URLEncoder.encode("goto", "UTF-8")); |
| | | // lan1.addProperty("jd", URLEncoder.encode(tagging.getJd(), "UTF-8")); |
| | |
| | | String jd = URLEncoder.encode(tagging.getJd(),"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; |
| | | String content = url + "?methods=" + gotos+"&jd="+jd+"&wd="+wd+"&name="+name +"&addressName=" + addressName ; |
| | | //生成标注二维码 |
| | | byte[] qrCodeImage = QRCodeUtil.getQRCodeImage(content, 350, 350); |
| | | String encode = new BASE64Encoder().encode(qrCodeImage); |