Browse Source

jar包upm文件readme

zthwr 1 năm trước cách đây
mục cha
commit
0589c8ee9b

BIN
pu/META-INF/commons-pool2-2.4.2.jar


BIN
pu/META-INF/jedis-2.9.0.jar


+ 10 - 0
pu/META-INF/ocritf.upm

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="gbk"?>
+<module name="th">
+	<public>
+		    <!-- ½Ó¿Ú -->
+		    <component priority="0" singleton="true" remote="true" tx="CMT" supportAlias="true">
+	      <interface>nc.itf.th.IThOcrService</interface>
+	      <implementation>nc.impl.th.ThOcrServiceImpl</implementation>
+	    </component>
+	</public>
+</module>

+ 52 - 0
pu/META-INF/readme.md

@@ -0,0 +1,52 @@
+
+DEMO
+===========================
+
+
+###########  OCR在线文档
+https://weapp.eteams.cn/sp/techdoc/doc/2317775c-b147-4df2-adc5-7143408f7316/freepass 
+
+1.获取token
+保存在REDIS中  ------key:2108  value:OCR的token
+
+
+2.上传图片OCR返回值
+
+  失败:
+    {
+	    "res_base": {
+	        "trace": "",
+	        "ret": 400,
+	        "message": "无法获取用户信息",
+	        "lang": "53248",
+	        "mdl": null,
+	        "isNew": null
+	    },
+	    "data": null
+	}
+	
+	
+    成功:
+		{
+		    "data": {
+		        "id": "863026330524426243",
+		        "url": "https://weapp.eteams.cn/papi/file/remotedownload/863026330524426243/token/true",
+		        "ids": [
+		            "863026330524426243"
+		        ],
+		        "fileType": "jpg",
+		        "fileName": "发票3322.jpg",
+		        "totalPages": 0,
+		        "numbers": null,
+		        "hasFanWei": false,
+		        "ocrMap": "{\"hasFanWei\":true,\"863026330524426243\":0,\"totalPages\":0}",
+		        "res_base": null
+		    },
+		    "actionMsg": {
+		        "code": 0,
+		        "message": "执行成功"
+		    }
+		}
+		
+3.识别图片		
+