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
0
Merge Requests
0
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
2596e19b
Commit
2596e19b
authored
Nov 27, 2024
by
alex yao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'task/1004454' into release
parents
7380f1b0
306dd349
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
AgentApplicationServiceImpl.java
...oc/expose/aggregate/impl/AgentApplicationServiceImpl.java
+4
-0
No files found.
src/main/java/cn/com/poc/expose/aggregate/impl/AgentApplicationServiceImpl.java
View file @
2596e19b
...
@@ -295,6 +295,10 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
...
@@ -295,6 +295,10 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
@Override
@Override
public
String
enableAutoPlay
(
Long
memberId
,
String
agentId
,
String
autoPlay
)
{
public
String
enableAutoPlay
(
Long
memberId
,
String
agentId
,
String
autoPlay
)
{
BizAgentApplicationPublishEntity
publishEntity
=
bizAgentApplicationPublishService
.
getByAgentId
(
agentId
);
if
(
publishEntity
==
null
)
{
throw
new
I18nMessageException
(
"exception/application.does.not.exist"
);
}
String
redisKey
=
AGENT_APPLICATION_RECOMMEND_QUESTIONS
+
memberId
+
":"
+
agentId
;
String
redisKey
=
AGENT_APPLICATION_RECOMMEND_QUESTIONS
+
memberId
+
":"
+
agentId
;
redisService
.
set
(
redisKey
,
autoPlay
,
30
*
60
*
60
*
24
);
redisService
.
set
(
redisKey
,
autoPlay
,
30
*
60
*
60
*
24
);
return
autoPlay
;
return
autoPlay
;
...
...
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