Browse Source

fix 新增ocr接口

Administrator 3 years ago
parent
commit
de3fb0ef96

+ 1 - 1
boman-modules/boman-file/src/main/java/com/boman/file/controller/SysFileController.java

@@ -94,7 +94,7 @@ public class SysFileController {
             String errcode = parse.getString("errcode");
             String errcode = parse.getString("errcode");
             System.out.println("解析身份证返回值:"+result);
             System.out.println("解析身份证返回值:"+result);
             if ("0".equals(errcode)){
             if ("0".equals(errcode)){
-                return AjaxResult.success(result);
+                return AjaxResult.success(parse);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();