Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
2a5cb4ce
Commit
2a5cb4ce
authored
Nov 05, 2020
by
lzxry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getDate测试时间
parent
4f8d1121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
ContractController.java
src/main/java/common/controller/ContractController.java
+11
-0
No files found.
src/main/java/common/controller/ContractController.java
View file @
2a5cb4ce
...
...
@@ -725,6 +725,17 @@ public class ContractController {
return
ResultModel
.
OK
(
service
.
getBarrioCities
());
}
@GetMapping
(
"/getDate"
)
@ResponseBody
public
ResultModel
getDate
(){
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"new date"
,
new
Date
().
getTime
());
map
.
put
(
"getBeforeDays(1)"
,
DateUtil
.
getBeforeDays
(
1
));
map
.
put
(
"getBeforeDays(0)"
,
DateUtil
.
getBeforeDays
(
0
));
map
.
put
(
"getCurrentDateStr"
,
DateUtil
.
getCurrentDateStr
());
return
ResultModel
.
OK
(
map
);
}
}
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