Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
f018613c
Commit
f018613c
authored
Oct 31, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
音频安全内容检测
parent
f78fded7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/OfficialAccountSubscribeRecordServiceImpl.java
...ch/wx/impl/OfficialAccountSubscribeRecordServiceImpl.java
+2
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/OfficialAccountController.java
...in/java/com/wwdz/ch/wx/web/OfficialAccountController.java
+5
-5
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/OfficialAccountSubscribeRecordServiceImpl.java
View file @
f018613c
...
...
@@ -50,9 +50,9 @@ public class OfficialAccountSubscribeRecordServiceImpl implements OfficialAccoun
}
@Override
public
Result
isSubscribed
(
String
ope
nid
)
{
public
Result
isSubscribed
(
String
unio
nid
)
{
try
{
boolean
flag
=
officialAccountSubscribeRecordDao
.
isSubscribed
(
ope
nid
);
boolean
flag
=
officialAccountSubscribeRecordDao
.
isSubscribed
(
unio
nid
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"isSubscribed"
,
flag
);
map
.
put
(
"url"
,
OFFICAL_ACCOUNT_URL
);
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/OfficialAccountController.java
View file @
f018613c
...
...
@@ -38,13 +38,13 @@ public class OfficialAccountController {
return
Result
.
failed
(
ResultCode
.
PARAM_ERROR
);
}
Result
<
User
>
result
=
userService
.
queryUserInfo
(
dto
);
String
ope
nid
=
null
;
String
unio
nid
=
null
;
if
(
result
.
getSuccess
()
&&
result
.
getData
()
!=
null
)
{
ope
nid
=
result
.
getData
().
getWeixinUnionid
();
unio
nid
=
result
.
getData
().
getWeixinUnionid
();
}
if
(
ope
nid
==
null
)
{
return
Result
.
failed
(
"该用户没有记录下
ope
nid"
);
if
(
unio
nid
==
null
)
{
return
Result
.
failed
(
"该用户没有记录下
unio
nid"
);
}
return
officialAccountSubscribeRecordService
.
isSubscribed
(
ope
nid
);
return
officialAccountSubscribeRecordService
.
isSubscribed
(
unio
nid
);
}
}
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