Commit bc7d6d84 by huluobin

update

parent f27e517a
...@@ -55,7 +55,7 @@ public class LoginHandlerInterceptor implements HandlerInterceptor { ...@@ -55,7 +55,7 @@ public class LoginHandlerInterceptor implements HandlerInterceptor {
if (gogirlToken == null) { if (gogirlToken == null) {
throw new RRException(2000, "token失效,请重新登陆"); throw new RRException(2000, "token失效,请重新登陆");
} else { } else {
if (gogirlToken.getDepartmentId() == null) { if (gogirlToken.getDepartmentId() == null || gogirlToken.getDepartmentId() == 0) {
List<StoreManage> storeManageList = storeManageMapper.getTechnicianShopList(gogirlToken.getTechnicianId()); List<StoreManage> storeManageList = storeManageMapper.getTechnicianShopList(gogirlToken.getTechnicianId());
if (ListUtil.isNotEmpty(storeManageList) && storeManageList.size() == 1) { if (ListUtil.isNotEmpty(storeManageList) && storeManageList.size() == 1) {
StoreManage storeManage = storeManageList.get(0); StoreManage storeManage = storeManageList.get(0);
......
...@@ -48,11 +48,11 @@ spring: ...@@ -48,11 +48,11 @@ spring:
database: 0 database: 0
lettuce: lettuce:
pool: pool:
max-active: 200 max-active: 1000
max-wait: -1ms max-wait: -1ms
max-idle: 20 max-idle: 200
min-idle: 0 min-idle: 0
timeout: 2000ms timeout: 0ms
#项目属性 #项目属性
......
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