init项目
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.njcn.gather.system.controller;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Slf4j
|
||||
@RestController
|
||||
public class Hello {
|
||||
|
||||
@RequestMapping("/hello")
|
||||
public String hello(){
|
||||
log.info("hello");
|
||||
return "hello";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user