Commit 97a50a03 authored by alex yao's avatar alex yao

feat:Ai软著

parent 21c8f307
...@@ -61,5 +61,5 @@ public interface BizSoftwareCopyrightRest extends BaseRest { ...@@ -61,5 +61,5 @@ public interface BizSoftwareCopyrightRest extends BaseRest {
/** /**
* 回调-生成基础文件任务 * 回调-生成基础文件任务
*/ */
void callbackGeneratedBaseDoc(@RequestBody CallbackDto callbackDto) ; void callbackGeneratedBaseDoc(@RequestParam String taskId, @RequestBody CallbackDto callbackDto);
} }
\ No newline at end of file
...@@ -111,8 +111,7 @@ public class BizSoftwareCopyrightRestImpl implements BizSoftwareCopyrightRest { ...@@ -111,8 +111,7 @@ public class BizSoftwareCopyrightRestImpl implements BizSoftwareCopyrightRest {
private RedisService redisService; private RedisService redisService;
@Override @Override
public void callbackGeneratedBaseDoc(CallbackDto callbackDto) { public void callbackGeneratedBaseDoc(String taskId, CallbackDto callbackDto) {
String taskId = callbackDto.getTaskId();
if (redisService.hasKey(taskId)) { if (redisService.hasKey(taskId)) {
redisService.set(taskId, JsonUtils.serialize(callbackDto)); redisService.set(taskId, JsonUtils.serialize(callbackDto));
} }
......
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