Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
常超
map-parent
Commits
22ba8197
Commit
22ba8197
authored
Dec 08, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第三方token获取提交(标准)
parent
91fba8dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
common/service_base/src/main/java/com/founder/servicebase/controller/SkServiceApplyController.java
+5
-1
No files found.
common/service_base/src/main/java/com/founder/servicebase/controller/SkServiceApplyController.java
View file @
22ba8197
...
...
@@ -33,6 +33,7 @@ import javax.servlet.http.HttpServletResponse;
import
java.io.IOException
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -236,7 +237,10 @@ public class SkServiceApplyController extends ApiController {
return
new
MapRestResult
(
201
,
"error"
,
1
,
"token获取失败!"
);
}
}
return
new
MapRestResult
(
200
,
"OK"
,
1
,
token
);
Map
mapResult
=
new
HashMap
();
mapResult
.
put
(
"token"
,
token
);
mapResult
.
put
(
"expire"
,
"86400"
);
return
new
MapRestResult
(
200
,
"OK"
,
1
,
mapResult
);
}
}
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