Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test-in-sleuth
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
仲光辉
test-in-sleuth
Commits
48c4a90c
Commit
48c4a90c
authored
Oct 20, 2020
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加验证(TestPointCutController) -->切入点表达式包扫描 2020/10/20 10:55
parent
51c3c18a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
TestPointCutController.java
...java/cn/dankal/test/user/test/TestPointCutController.java
+26
-0
No files found.
03-test-in-sleuth-user/03-01-user-service-01/src/main/java/cn/dankal/test/user/test/TestPointCutController.java
0 → 100644
View file @
48c4a90c
package
cn
.
dankal
.
test
.
user
.
test
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.time.LocalDateTime
;
import
java.time.format.DateTimeFormatter
;
/**
* TODO
*
* @author ZGH.MercyModest
* @version V1.0.0
* @create 2020/10/20
*/
@RestController
@RequestMapping
(
"/test/pointcut"
)
public
class
TestPointCutController
{
@GetMapping
(
"/time"
)
public
String
test
()
{
return
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:sss"
).
format
(
LocalDateTime
.
now
());
}
}
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