Commit 8537a9e5 by kaevom

Merge remote-tracking branch 'origin/master'

parents a70da7e9 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端
*/ */
......
...@@ -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("获取微信信息失败");
......
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