Commit 2295eb0b authored by alex yao's avatar alex yao

feat:Ai软著

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