Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
gogirl-miniapp-backend
Commits
bc7d6d84
Commit
bc7d6d84
authored
Mar 22, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f27e517a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
LoginHandlerInterceptor.java
...l/infrastructure/interceptor/LoginHandlerInterceptor.java
+1
-1
application-prod.yml
src/main/resources/application-prod.yml
+3
-3
No files found.
src/main/java/com/gogirl/infrastructure/interceptor/LoginHandlerInterceptor.java
View file @
bc7d6d84
...
@@ -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
);
...
...
src/main/resources/application-prod.yml
View file @
bc7d6d84
...
@@ -48,11 +48,11 @@ spring:
...
@@ -48,11 +48,11 @@ spring:
database
:
0
database
:
0
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
2
00
max-active
:
10
00
max-wait
:
-1ms
max-wait
:
-1ms
max-idle
:
20
max-idle
:
20
0
min-idle
:
0
min-idle
:
0
timeout
:
200
0ms
timeout
:
0ms
#项目属性
#项目属性
...
...
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