Commit 23737b38 by niewei

esb修改get

parent aa9c0713
......@@ -3,8 +3,10 @@ package com.brilliance.isc.esb.api.ocr;
import com.brilliance.isc.esb.model.ocr.ReqTextDiff;
import com.brilliance.isc.esb.model.ocr.ResOcrResult;
import com.brilliance.isc.esb.model.ocr.ResTextDiff;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.ws.rs.GET;
import javax.ws.rs.PathParam;
......@@ -27,7 +29,6 @@ public interface OcrClient {
ResTextDiff callTextDiff(ReqTextDiff req);
@PostMapping("/xmind-query-asynctask-ai/api/v1/xmind/asyncTask/{taskId}")
@GET
ResOcrResult callOcrResult(@PathParam("taskId") String taskId, @QueryParam("app") String app, @QueryParam("pageFrom") int pageFrom);
ResOcrResult callOcrResult(@PathVariable("taskId") String taskId, @RequestParam("app") String app, @RequestParam("pageFrom") int pageFrom);
}
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