Commit 2124dba5 by 郑云飞

小程序登录修改

parent 1f38a3a8
...@@ -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/
......
...@@ -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端
*/ */
......
...@@ -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("获取微信信息失败");
......
...@@ -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;
......
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment