Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
2295eb0b
Commit
2295eb0b
authored
Jan 06, 2026
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:Ai软著
parent
1106e8a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
BizSoftwareCopyrightRest.java
.../ai_software_copyright/rest/BizSoftwareCopyrightRest.java
+1
-1
BizSoftwareCopyrightRestImpl.java
...are_copyright/rest/impl/BizSoftwareCopyrightRestImpl.java
+2
-2
No files found.
src/main/java/cn/com/poc/ai_software_copyright/rest/BizSoftwareCopyrightRest.java
View file @
2295eb0b
...
@@ -61,5 +61,5 @@ public interface BizSoftwareCopyrightRest extends BaseRest {
...
@@ -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
src/main/java/cn/com/poc/ai_software_copyright/rest/impl/BizSoftwareCopyrightRestImpl.java
View file @
2295eb0b
...
@@ -111,10 +111,10 @@ public class BizSoftwareCopyrightRestImpl implements BizSoftwareCopyrightRest {
...
@@ -111,10 +111,10 @@ public class BizSoftwareCopyrightRestImpl implements BizSoftwareCopyrightRest {
private
RedisService
redisService
;
private
RedisService
redisService
;
@Override
@Override
public
void
callbackGeneratedBaseDoc
(
CallbackDto
callbackDto
)
throws
Exception
{
public
void
callbackGeneratedBaseDoc
(
CallbackDto
callbackDto
)
{
String
taskId
=
callbackDto
.
getTaskId
();
String
taskId
=
callbackDto
.
getTaskId
();
if
(
redisService
.
hasKey
(
taskId
))
{
if
(
redisService
.
hasKey
(
taskId
))
{
redisService
.
set
(
taskId
,
JsonUtils
.
serialize
(
callbackDto
.
getResult
()
));
redisService
.
set
(
taskId
,
JsonUtils
.
serialize
(
callbackDto
));
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment