增加了测试接口 ip/test

This commit is contained in:
bamanker
2023-05-15 12:54:23 +08:00
parent a458f3c90a
commit 4e7bdc6edd

View File

@@ -0,0 +1,15 @@
package com.bamanker.dailylove.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
public class TestController {
@GetMapping("/test")
public String test(){
return "test ok!";
}
}