Showing
2 changed files
with
24 additions
and
6 deletions
application/src/main/java/org/thingsboard/server/controller/yunteng/YtTestController.java
0 → 100644
1 | +package org.thingsboard.server.controller.yunteng; | |
2 | + | |
3 | +import com.fasterxml.jackson.databind.JsonNode; | |
4 | +import org.springframework.web.bind.annotation.PostMapping; | |
5 | +import org.springframework.web.bind.annotation.RequestBody; | |
6 | +import org.springframework.web.bind.annotation.RequestMapping; | |
7 | +import org.springframework.web.bind.annotation.RestController; | |
8 | + | |
9 | +@RestController | |
10 | +@RequestMapping("/api/yt/noauth/test") | |
11 | +public class YtTestController { | |
12 | + @PostMapping | |
13 | + public void getData(@RequestBody JsonNode jsonNode) { | |
14 | + System.out.println(jsonNode); | |
15 | + } | |
16 | +} | ... | ... |
1 | - ______ __ _ ____ __ | |
2 | - /_ __/ / /_ (_) ____ ____ _ _____ / __ ) ____ ____ _ _____ ____/ / | |
3 | - / / / __ \ / / / __ \ / __ `/ / ___/ / __ | / __ \ / __ `/ / ___/ / __ / | |
4 | - / / / / / / / / / / / / / /_/ / (__ ) / /_/ / / /_/ // /_/ / / / / /_/ / | |
5 | -/_/ /_/ /_/ /_/ /_/ /_/ \__, / /____/ /_____/ \____/ \__,_/ /_/ \__,_/ | |
6 | - /____/ | |
1 | + _________ ___ ___ ___ ________ ________ ________ ___ __ ___ _________ | |
2 | +|\___ ___\\ \|\ \|\ \|\ ___ \|\ ____\|\ ____\|\ \|\ \ |\ \|\___ ___\ | |
3 | +\|___ \ \_\ \ \\\ \ \ \ \ \\ \ \ \ \___|\ \ \___|\ \ \/ /|\ \ \|___ \ \_| | |
4 | + \ \ \ \ \ __ \ \ \ \ \\ \ \ \ \ __\ \_____ \ \ ___ \ \ \ \ \ \ | |
5 | + \ \ \ \ \ \ \ \ \ \ \ \\ \ \ \ \|\ \|____|\ \ \ \\ \ \ \ \ \ \ \ | |
6 | + \ \__\ \ \__\ \__\ \__\ \__\\ \__\ \_______\____\_\ \ \__\\ \__\ \__\ \ \__\ | |
7 | + \|__| \|__|\|__|\|__|\|__| \|__|\|_______|\_________\|__| \|__|\|__| \|__| | |
8 | + \|_________| | |
7 | 9 | |
8 | 10 | =================================================== |
9 | 11 | :: ${application.title} :: ${application.formatted-version} | ... | ... |