|
@@ -1023,22 +1023,22 @@ public class OrderController {
|
|
return R.ok().put("resultObj", result);
|
|
return R.ok().put("resultObj", result);
|
|
}
|
|
}
|
|
|
|
|
|
- @RequestMapping("/getIdCardInfo")
|
|
|
|
- public R getIdCardInfo() throws IOException {
|
|
|
|
-
|
|
|
|
- Map map = new HashMap();
|
|
|
|
- String ssl = OkHttpUtils.post(map,"http://127.0.0.1:8000/idcard/read", "SSL");
|
|
|
|
- Pattern pattern = Pattern.compile("(\\\\u(\\p{XDigit}{4}))");
|
|
|
|
- Matcher matcher = pattern.matcher(ssl);
|
|
|
|
- char ch;
|
|
|
|
- while (matcher.find()) {
|
|
|
|
- ch = (char) Integer.parseInt(matcher.group(2), 16);
|
|
|
|
- ssl = ssl.replace(matcher.group(1), ch + "");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return R.ok().put("info",ssl);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
+// @RequestMapping("/getIdCardInfo")
|
|
|
|
+// public R getIdCardInfo() throws IOException {
|
|
|
|
+//
|
|
|
|
+// Map map = new HashMap();
|
|
|
|
+// String ssl = OkHttpUtils.post(map,"http://127.0.0.1:8000/idcard/read", "SSL");
|
|
|
|
+// Pattern pattern = Pattern.compile("(\\\\u(\\p{XDigit}{4}))");
|
|
|
|
+// Matcher matcher = pattern.matcher(ssl);
|
|
|
|
+// char ch;
|
|
|
|
+// while (matcher.find()) {
|
|
|
|
+// ch = (char) Integer.parseInt(matcher.group(2), 16);
|
|
|
|
+// ssl = ssl.replace(matcher.group(1), ch + "");
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// return R.ok().put("info",ssl);
|
|
|
|
+//
|
|
|
|
+// }
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/purchaseSalesInStockDetail")
|
|
@RequestMapping("/purchaseSalesInStockDetail")
|