创建新 user 服务项目

This commit is contained in:
YunaiV
2020-04-20 22:58:12 +08:00
parent bdff67b7b3
commit cc9696938a
39 changed files with 595 additions and 362 deletions

View File

@@ -4,4 +4,4 @@ spring:
name: admin-application
# Profile 的配置项
profiles:
active: test
active: local

View File

@@ -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>

View File

@@ -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 {