Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a490819a
authored
Dec 05, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://gitlab.dituhui.com/bsh/project/project
into develop
2 parents
42f3921e
28dcde56
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/ExtractServiceImpl.java
project-gateway/src/main/java/com/dituhui/pea/gateway/config/AuthFilter.java
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/ExtractServiceImpl.java
View file @
a490819
...
@@ -286,7 +286,7 @@ public class ExtractServiceImpl implements ExtractService {
...
@@ -286,7 +286,7 @@ public class ExtractServiceImpl implements ExtractService {
if
(
cutOff
)
{
if
(
cutOff
)
{
AllotResultParam
allotResultParam
=
new
AllotResultParam
();
AllotResultParam
allotResultParam
=
new
AllotResultParam
();
allotResultParam
.
setRisId
(
orderInfo
.
getOrderId
());
allotResultParam
.
setRisId
(
orderInfo
.
getOrderId
());
allotResultParam
.
setExecutorWorkNo
(
orderInfo
.
getEngineerCode
());
allotResultParam
.
setExecutorWorkNo
(
engineerInfo
.
getCosmosId
());
allotResultParam
.
setAssistantWorkNo
(
null
);
allotResultParam
.
setAssistantWorkNo
(
null
);
allotResultParam
.
setReason
(
"自动派单"
);
allotResultParam
.
setReason
(
"自动派单"
);
String
format
=
"yyyy-MM-dd HH:mm:ss"
;
String
format
=
"yyyy-MM-dd HH:mm:ss"
;
...
...
project-gateway/src/main/java/com/dituhui/pea/gateway/config/AuthFilter.java
View file @
a490819
...
@@ -86,7 +86,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
...
@@ -86,7 +86,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
}
}
// ak登录处理
// ak登录处理
if
(
StringUtils
.
isEmpty
(
authToken
))
{
final
String
ak
=
getParams
(
exchange
,
"ak"
,
headers
);
final
String
ak
=
getParams
(
exchange
,
"ak"
,
headers
);
if
(
log
.
isTraceEnabled
())
{
if
(
log
.
isTraceEnabled
())
{
log
.
trace
(
"ak is {}"
,
ak
);
log
.
trace
(
"ak is {}"
,
ak
);
...
@@ -106,7 +105,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
...
@@ -106,7 +105,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
userDTO
.
setId
(
Globals
.
SUPER_ADMIN_ID
);
userDTO
.
setId
(
Globals
.
SUPER_ADMIN_ID
);
}
}
}
}
}
if
(
userDTO
==
null
)
{
if
(
userDTO
==
null
)
{
log
.
info
(
"未授权访问{} ip:{}"
,
url
,
getRemoteIP
(
exchange
));
log
.
info
(
"未授权访问{} ip:{}"
,
url
,
getRemoteIP
(
exchange
));
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment