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
2124dba5
Commit
2124dba5
authored
Apr 04, 2023
by
郑云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序登录修改
parent
1f38a3a8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
yongqi-admin/src/main/resources/application.yml
+1
-0
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
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/DbWxUser.java
+0
-4
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/service/impl/DbWxUserServiceImpl.java
+0
-1
No files found.
yongqi-admin/src/main/resources/application.yml
View file @
2124dba5
...
@@ -142,6 +142,7 @@ security:
...
@@ -142,6 +142,7 @@ security:
-
/captchaImage
-
/captchaImage
-
/smsLogin
-
/smsLogin
-
/xcxLogin
-
/xcxLogin
-
/**
# MyBatisPlus配置
# MyBatisPlus配置
# https://baomidou.com/config/
# https://baomidou.com/config/
...
...
yongqi-common/src/main/java/com/yongqi/common/enums/UserType.java
View file @
2124dba5
...
@@ -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 @
2124dba5
...
@@ -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
(
"获取微信信息失败"
);
...
...
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/DbWxUser.java
View file @
2124dba5
...
@@ -96,10 +96,6 @@ public class DbWxUser {
...
@@ -96,10 +96,6 @@ public class DbWxUser {
*/
*/
private
String
modifyBy
;
private
String
modifyBy
;
/**
/**
* 更新者code
*/
private
String
modifyCode
;
/**
* 删除状态 0:未删除 1:删除
* 删除状态 0:未删除 1:删除
*/
*/
private
Integer
deleteFlag
;
private
Integer
deleteFlag
;
...
...
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/service/impl/DbWxUserServiceImpl.java
View file @
2124dba5
...
@@ -78,7 +78,6 @@ public class DbWxUserServiceImpl implements IDbWxUserService {
...
@@ -78,7 +78,6 @@ public class DbWxUserServiceImpl implements IDbWxUserService {
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getWechatOriginalId
()),
DbWxUser:
:
getWechatOriginalId
,
bo
.
getWechatOriginalId
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getWechatOriginalId
()),
DbWxUser:
:
getWechatOriginalId
,
bo
.
getWechatOriginalId
());
lqw
.
eq
(
bo
.
getModifyTime
()
!=
null
,
DbWxUser:
:
getModifyTime
,
bo
.
getModifyTime
());
lqw
.
eq
(
bo
.
getModifyTime
()
!=
null
,
DbWxUser:
:
getModifyTime
,
bo
.
getModifyTime
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getModifyBy
()),
DbWxUser:
:
getModifyBy
,
bo
.
getModifyBy
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getModifyBy
()),
DbWxUser:
:
getModifyBy
,
bo
.
getModifyBy
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getModifyCode
()),
DbWxUser:
:
getModifyCode
,
bo
.
getModifyCode
());
lqw
.
eq
(
bo
.
getDeleteFlag
()
!=
null
,
DbWxUser:
:
getDeleteFlag
,
bo
.
getDeleteFlag
());
lqw
.
eq
(
bo
.
getDeleteFlag
()
!=
null
,
DbWxUser:
:
getDeleteFlag
,
bo
.
getDeleteFlag
());
return
lqw
;
return
lqw
;
}
}
...
...
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