Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
83538ff9
Commit
83538ff9
authored
Jan 15, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
352b2c69
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bigdata/app/base/api/api.base.js
+1
-1
bigdata/app/base/api/impl/auth/accessAuth.js
+1
-1
No files found.
bigdata/app/base/api/api.base.js
View file @
83538ff9
...
...
@@ -56,7 +56,7 @@ class APIBase extends DocBase {
//检查访问token
var
isPassResult
=
await
this
.
checkAcck
(
gname
,
methodname
,
pobj
,
query
,
req
);
if
(
!
isPassResult
.
ispass
)
{
var
tmpResult
=
system
.
getResultFail
(
system
.
tokenFail
,
"访问token失效,请重新获取"
);
var
tmpResult
=
system
.
getResultFail
(
system
.
tokenFail
,
"访问token失效,请重新获取
!
"
);
tmpResult
.
requestId
=
""
;
return
tmpResult
;
}
...
...
bigdata/app/base/api/impl/auth/accessAuth.js
View file @
83538ff9
...
...
@@ -107,7 +107,7 @@ class AccessAuthAPI extends APIBase {
async
authAccessKey
(
pobj
,
query
,
req
)
{
var
acckapp
=
await
this
.
cacheManager
[
"ApiAccessKeyCache"
].
cache
(
pobj
.
checkAccessKey
);
if
(
!
acckapp
)
{
return
system
.
getResultFail
(
system
.
tokenFail
,
"访问token失效,请重新获取"
);
return
system
.
getResultFail
(
system
.
tokenFail
,
"访问token失效,请重新获取
!!
"
);
}
return
system
.
getResultSuccess
({
isaccess
:
true
,
app
:
acckapp
});
}
...
...
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