feat:引入常量方法
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.yinlihupo.enlish.service.deoms.web;
|
||||
|
||||
import com.yinlihupo.framework.common.response.Response;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestController {
|
||||
|
||||
@GetMapping("/test")
|
||||
public Response<String> test() {
|
||||
return Response.success("Hello, 犬小哈专栏");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user