Commit 8431b44a by 雷紫添

添加缺失的字段

parent a5f9681f
...@@ -21,6 +21,7 @@ public class OcrController { ...@@ -21,6 +21,7 @@ public class OcrController {
@Autowired @Autowired
private OcrService ocrjService; private OcrService ocrjService;
@ResponseBody @ResponseBody
@CrossOrigin
@PostMapping("/InvoiceOcr") @PostMapping("/InvoiceOcr")
public JSONObject query(HttpServletRequest request, MultipartFile file) { public JSONObject query(HttpServletRequest request, MultipartFile file) {
DateFormat df2 = DateFormat.getDateTimeInstance();//可以精确到时分秒 DateFormat df2 = DateFormat.getDateTimeInstance();//可以精确到时分秒
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment