| | |
| | | @GetMapping("/getQrCode") |
| | | public ResponseEntity<byte[]> getQrCode(String securityNumber) throws UnsupportedEncodingException { |
| | | // String url = "http://s16s652780.51mypc.cn/securityInfo/securityInfo.html"; |
| | | String url = "http://223.82.109.183:2080/securityInfo.html"; |
| | | String url = "http://61.131.136.25:2080/securityInfo.html"; |
| | | if (null!=securityNumber) { |
| | | String encoded = URLEncoder.encode(securityNumber,"UTF-8"); |
| | | String content = url + "?securityNumber=" + encoded; |
| | |
| | | @GetMapping("/getQrCodeBase64") |
| | | public String getQrCodeBase64(String securityNumber) throws Exception{ |
| | | // String url = "http://s16s652780.51mypc.cn/securityInfo/securityInfo.html"; |
| | | String url = "http://223.82.109.183:2080/securityInfo.html"; |
| | | String url = "http://61.131.136.25:2080/securityInfo.html"; |
| | | if (null!=securityNumber) { |
| | | String encoded = URLEncoder.encode(securityNumber,"UTF-8"); |
| | | String content = url + "?securityNumber=" + encoded; |
| | |
| | | @GetMapping("/getQrCodeDown") |
| | | public String getQrCodeDown(String securityNumber) throws Exception{ |
| | | // String url = "http://s16s652780.51mypc.cn/securityInfo/securityInfo.html"; |
| | | String url = "http://223.82.109.183:2080/securityInfo.html"; |
| | | String url = "http://61.131.136.25:2080/securityInfo.html"; |
| | | if (null!=securityNumber) { |
| | | String encoded = URLEncoder.encode(securityNumber,"UTF-8"); |
| | | String content = url + "?securityNumber=" + encoded; |