feat:引入常量方法
This commit is contained in:
@@ -18,6 +18,12 @@
|
||||
<description>小哈书:认证服务(负责处理用户登录、注册、账号注销等)</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.yinlihupo</groupId>
|
||||
<artifactId>enlish-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
|
||||
@@ -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