Jelajahi Sumber

1、生产环境上线前的一次提交,若回退可回退至此版本。

jessie 5 tahun lalu
induk
melakukan
5c368d9312

+ 3 - 3
src/main/java/com/pavis/ai/app/fjsocrasy/controller/BackController.java

@@ -458,9 +458,9 @@ public class BackController {
                 .date("2020-07-09 测试环境")
                 .version("V3.7")
                 .descriptionOne("1、针对“推荐函”维护一份“推荐人员”及“推荐人员联系方式”的库,用来优化识别;2、解决速度慢的问题。3、线程异常解决。")
-                .descriptionTwo("")
-                .descriptionThree("")
-                .descriptionFour("")
+                .descriptionTwo("2020-07-15 生产环境")
+                .descriptionThree("V1.15")
+                .descriptionFour("1、优化识别速度;2、针对“推荐函”维护一份“推荐人员”及“推荐人员联系方式”的库,用来优化识别;3、印章识别优化目标检测算法。")
                 .build();
 
         ver.add(pv1);

+ 10 - 1
src/main/java/com/pavis/ai/app/fjsocrasy/service/impl/UploadServiceImpl.java

@@ -219,7 +219,16 @@ public class UploadServiceImpl implements UploadService {
     @Autowired
     private OtherService otherService;
 
-
+    /**
+     * 本地测试接口。
+     * @param reqId
+     * @param fileType
+     * @param data
+     * @param startTime
+     * @param parsedFilePaths
+     * @return
+     * @throws Exception
+     */
     @Override
     public List<FileDetails> uploadAsync(String reqId, String fileType, String data,  Long startTime, List<FileDetails> parsedFilePaths) throws Exception {
         otherService.uploading(reqId,fileType,data,null,startTime,parsedFilePaths);

+ 2 - 2
src/main/resources/application-dev.yml

@@ -2,8 +2,8 @@ spring:
   datasource:
 #    url: jdbc:mysql://192.168.1.73/fjs_ocr_11?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
 #    url: jdbc:mysql://192.168.1.73/fjs_ocr_12?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
-#    url: jdbc:mysql://192.168.1.73/fjs_ocr_13?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
-    url: jdbc:mysql://192.168.1.73/fjs_ocr_14?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
+    url: jdbc:mysql://192.168.1.73/fjs_ocr_13?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
+#    url: jdbc:mysql://192.168.1.73/fjs_ocr_14?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
     password: root

+ 2 - 2
src/main/resources/application.yml

@@ -7,8 +7,8 @@ spring:
   application:
     name: fujisu-ocr-server
   profiles:
-#    active: dev
-    active: test
+    active: dev
+#    active: test
 #    active: prod
   servlet:
     multipart: