feat: 简单测试
This commit is contained in:
15
nl-verify-check-test/src/main/java/org/nl/Application.java
Normal file
15
nl-verify-check-test/src/main/java/org/nl/Application.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package org.nl;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* @Author: lyd
|
||||
* @Date: 2025/8/26
|
||||
*/
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package org.nl;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Author: lyd
|
||||
* @Date: 2025/8/26
|
||||
*/
|
||||
@RestController
|
||||
public class TestController {
|
||||
@GetMapping("/")
|
||||
public ResponseEntity<Object> test1() {
|
||||
return new ResponseEntity<>("测试", HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user