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
872b7814
Commit
872b7814
authored
May 22, 2019
by
lili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人数等于0的重新拿数据
parent
c62a90bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
GroupQrcodeBizImpl.java
...va/com/pcloud/book/group/biz/impl/GroupQrcodeBizImpl.java
+5
-5
WeixinQrcodeBizImpl.java
...a/com/pcloud/book/group/biz/impl/WeixinQrcodeBizImpl.java
+3
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/GroupQrcodeBizImpl.java
View file @
872b7814
...
...
@@ -185,12 +185,12 @@ public class GroupQrcodeBizImpl implements GroupQrcodeBiz {
changeToOverNumber
(
groupQrcodeDTO
.
getWeixinQrcodeId
(),
groupQrcodeDTO
.
getId
());
}
Map
<
String
,
Integer
>
nickNames
=
JedisClusterUtils
.
getJson
(
"BOOK:WEIXINGROUP:GUIDEUSER"
+
weixinGroupId
,
Map
.
class
);
if
(
nickNames
==
null
)
{
Map
<
String
,
Integer
>
nickNames
=
JedisClusterUtils
.
getJson
(
"BOOK:WEIXINGROUP:GUIDEUSER"
+
weixinGroupId
,
Map
.
class
);
if
(
nickNames
==
null
)
{
nickNames
=
new
HashMap
<>();
nickNames
.
put
(
nickName
,
0
);
}
else
{
nickNames
.
put
(
nickName
,
0
);
nickNames
.
put
(
nickName
,
0
);
}
else
{
nickNames
.
put
(
nickName
,
0
);
}
LOGGER
.
info
(
"新用户"
+
nickNames
);
JedisClusterUtils
.
setJson
(
"BOOK:WEIXINGROUP:GUIDEUSER"
+
weixinGroupId
,
nickNames
,
600
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/WeixinQrcodeBizImpl.java
View file @
872b7814
...
...
@@ -86,6 +86,9 @@ public class WeixinQrcodeBizImpl implements WeixinQrcodeBiz {
}
catch
(
Exception
e
)
{
qrcodeVO
.
setUserNumber
(
0
);
}
if
(
qrcodeVO
.
getUserNumber
()
==
0
){
return
getOneQrcode
();
}
return
qrcodeVO
;
}
else
{
return
getOneQrcode
();
...
...
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