创建新 user 服务项目
This commit is contained in:
@@ -4,4 +4,4 @@ spring:
|
||||
name: admin-application
|
||||
# Profile 的配置项
|
||||
profiles:
|
||||
active: test
|
||||
active: local
|
||||
|
||||
@@ -22,14 +22,17 @@
|
||||
|
||||
<!-- Web 相关 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
<artifactId>mall-spring-boot-starter-web</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
<artifactId>mall-spring-boot-starter-swagger</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- TODO 云服务 -->
|
||||
<dependency>
|
||||
<groupId>com.qiniu</groupId>
|
||||
<artifactId>qiniu-java-sdk</artifactId>
|
||||
|
||||
@@ -9,7 +9,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 文件模块(Admins API)
|
||||
@@ -17,7 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* author: sin
|
||||
* time: 2020/4/20 9:41 上午
|
||||
*/
|
||||
@RestController
|
||||
//@RestController
|
||||
@RequestMapping("admins/file")
|
||||
@Api(tags = "文件模块")
|
||||
public class AdminsFileController {
|
||||
|
||||
Reference in New Issue
Block a user