Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
bb5d9108
Commit
bb5d9108
authored
Dec 14, 2020
by
tc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[none]优化接口
parent
f9e97156
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+3
-6
application.yml
pcloud-service-book/src/main/resources/application.yml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
bb5d9108
...
...
@@ -2416,16 +2416,13 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
// 获取配套资料
if
(
RightsNowItemTypeNew
.
SERVES
.
value
.
equals
(
type
))
{
String
key
=
"SERVER_TYPE:"
+
rightsSettingId
+
"_"
+
adviserId
+
"_"
+
bookId
+
"_"
+
channelId
+
"_"
+
readType
;
RightsSetting
rightsSetting4Serves
;
if
(
JedisClusterUtils
.
exists
(
key
)){
String
s
=
JedisClusterUtils
.
get
(
key
);
rightsSetting
4Serves
=
JSON
.
parseObject
(
s
,
RightsSetting
.
class
);
rightsSetting
=
JSON
.
parseObject
(
s
,
RightsSetting
.
class
);
}
else
{
rightsSetting4Serves
=
setServe
(
rightsSetting
,
adviserId
,
bookId
,
channelId
,
readType
);
JedisClusterUtils
.
set
(
key
,
JSON
.
toJSONString
(
rightsSetting
4Serves
),
10
*
60
);
setServe
(
rightsSetting
,
adviserId
,
bookId
,
channelId
,
readType
);
JedisClusterUtils
.
set
(
key
,
JSON
.
toJSONString
(
rightsSetting
),
10
*
60
);
}
// rightsSetting4Serves = setServe(rightsSetting, adviserId, bookId, channelId, readType);
fillCollect
(
wechatUserId
,
rightsSetting4Serves
,
type
);
}
// 获取抽奖权益
if
(
RightsNowItemTypeNew
.
DRAW
.
value
.
equals
(
type
))
{
...
...
pcloud-service-book/src/main/resources/application.yml
View file @
bb5d9108
...
...
@@ -6,7 +6,7 @@ eureka:
instance
:
status-page-url-path
:
/book/v1.0/swagger-ui.html
client
:
register-with-eureka
:
tru
e
#禁止自己当做服务注册
register-with-eureka
:
fals
e
#禁止自己当做服务注册
spring
:
application
:
...
...
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