|
|
@@ -9,6 +9,7 @@ import com.goafanti.common.constant.ErrorConstants;
|
|
|
import com.goafanti.common.enums.UserType;
|
|
|
import com.goafanti.common.model.User;
|
|
|
import com.goafanti.common.service.DistrictGlossoryService;
|
|
|
+import com.goafanti.common.service.ImageService;
|
|
|
import com.goafanti.common.service.IndustryCategoryService;
|
|
|
import com.goafanti.common.service.PovertyService;
|
|
|
import com.goafanti.common.utils.*;
|
|
|
@@ -96,6 +97,8 @@ public class PublicController extends CertifyApiController {
|
|
|
private OrderProjectService orderProjectService;
|
|
|
@Resource
|
|
|
private UserOutboundService userOutboundService;
|
|
|
+ @Resource
|
|
|
+ private ImageService imageService;
|
|
|
|
|
|
@Value(value = "${patentTemplate}")
|
|
|
private String patentTemplate = null;
|
|
|
@@ -988,4 +991,16 @@ public class PublicController extends CertifyApiController {
|
|
|
System.out.println(in);
|
|
|
return new Result<>().data(userOutboundService.pushCallCompleted(in));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+// /**
|
|
|
+// *
|
|
|
+// *
|
|
|
+// */
|
|
|
+// @PostMapping("/OCR")
|
|
|
+// @ResponseBody
|
|
|
+// public Result ImageOCR(@RequestParam(value = "file", required = false) MultipartFile file) {
|
|
|
+//
|
|
|
+// return new Result<>().data(imageService.ImageOCR(file));
|
|
|
+// }
|
|
|
}
|