Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-user
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-user
Commits
0d5ba9d2
Commit
0d5ba9d2
authored
Oct 15, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
b62266e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
yd-user-api/src/main/java/com/yd/user/api/service/impl/ApiScanLoginServiceImpl.java
+5
-4
No files found.
yd-user-api/src/main/java/com/yd/user/api/service/impl/ApiScanLoginServiceImpl.java
View file @
0d5ba9d2
package
com
.
yd
.
user
.
api
.
service
.
impl
;
import
com.yd.common.exception.BusinessException
;
import
com.yd.common.utils.RedisUtil
;
import
com.yd.user.api.service.ApiScanLoginService
;
import
com.yd.user.api.utils.WeChatApiUtil
;
...
...
@@ -61,12 +62,12 @@ public class ApiScanLoginServiceImpl implements ApiScanLoginService {
request
.
getProjectBizId
(),
request
.
getPlatformType
()
==
null
?
ScanLoginConstants
.
PLATFORM_TYPE_GZH
:
request
.
getPlatformType
());
if
(
projectBind
==
null
)
{
throw
new
Runtime
Exception
(
"租户项目未绑定公众号平台"
);
throw
new
Business
Exception
(
"租户项目未绑定公众号平台"
);
}
//查询第三方平台基础配置信息
ThirdPartyPlatform
platform
=
thirdPartyPlatformService
.
getByPlatformCode
(
projectBind
.
getPlatformCode
());
if
(
platform
==
null
)
{
throw
new
Runtime
Exception
(
"第三方平台配置信息不存在"
);
throw
new
Business
Exception
(
"第三方平台配置信息不存在"
);
}
// 2. 生成 qrId
...
...
@@ -206,11 +207,11 @@ public class ApiScanLoginServiceImpl implements ApiScanLoginService {
request
.
getProjectBizId
(),
request
.
getPlatformType
()
==
null
?
ScanLoginConstants
.
PLATFORM_TYPE_GZH
:
request
.
getPlatformType
());
if
(
projectBind
==
null
)
{
throw
new
Runtime
Exception
(
"项目未绑定公众号平台"
);
throw
new
Business
Exception
(
"项目未绑定公众号平台"
);
}
ThirdPartyPlatform
platform
=
thirdPartyPlatformService
.
getByPlatformCode
(
projectBind
.
getPlatformCode
());
if
(
platform
==
null
)
{
throw
new
Runtime
Exception
(
"平台配置不存在"
);
throw
new
Business
Exception
(
"平台配置不存在"
);
}
// 2. 生成 qrId
...
...
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