Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli
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
郑云飞
xinrenli
Commits
8537a9e5
Commit
8537a9e5
authored
Apr 04, 2023
by
kaevom
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a70da7e9
2124dba5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
yongqi-common/src/main/java/com/yongqi/common/enums/UserType.java
+4
-1
yongqi-system/src/main/java/com/yongqi/system/service/SysLoginService.java
+0
-1
No files found.
yongqi-common/src/main/java/com/yongqi/common/enums/UserType.java
View file @
8537a9e5
...
@@ -18,7 +18,10 @@ public enum UserType {
...
@@ -18,7 +18,10 @@ public enum UserType {
* pc端
* pc端
*/
*/
SYS_USER
(
"sys_user"
),
SYS_USER
(
"sys_user"
),
/**
* 小程序端
*/
XCX_USER
(
"xcx"
),
/**
/**
* app端
* app端
*/
*/
...
...
yongqi-system/src/main/java/com/yongqi/system/service/SysLoginService.java
View file @
8537a9e5
...
@@ -125,7 +125,6 @@ public class SysLoginService {
...
@@ -125,7 +125,6 @@ public class SysLoginService {
sessionInfo
=
wxMaService
.
getUserService
().
getSessionInfo
(
xcxCode
);
sessionInfo
=
wxMaService
.
getUserService
().
getSessionInfo
(
xcxCode
);
}
catch
(
WxErrorException
e
)
{
}
catch
(
WxErrorException
e
)
{
log
.
error
(
"获取微信openid失败:{}"
,
e
.
getMessage
());
log
.
error
(
"获取微信openid失败:{}"
,
e
.
getMessage
());
e
.
printStackTrace
();
}
}
if
(
sessionInfo
==
null
)
{
if
(
sessionInfo
==
null
)
{
throw
new
RuntimeException
(
"获取微信信息失败"
);
throw
new
RuntimeException
(
"获取微信信息失败"
);
...
...
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