Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
a5bea444
Commit
a5bea444
authored
Sep 18, 2020
by
giaogiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成项目结构修改
parent
6f6c1299
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
34 additions
and
88 deletions
+34
-88
README-zh.md
+6
-3
README.md
+4
-2
api-app/pom.xml
+1
-15
api-app/src/main/java/com/jumeirah/api/app/controller/AppHelloWorldController.java
+0
-15
api-merchant/pom.xml
+0
-15
api-system/src/main/java/com/jumeirah/api/system/controller/DownloadController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/HelloWorldController.java
+4
-4
api-system/src/main/java/com/jumeirah/api/system/controller/LoginController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/RegisterController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/ResourceController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/SysDepartmentController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/SysPermissionController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/SysRoleController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/SysUserController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/UploadController.java
+1
-1
api-system/src/main/java/com/jumeirah/api/system/controller/VerificationCodeController.java
+1
-1
bootstrap/pom.xml
+0
-15
config/src/main/resources/config/application.yml
+8
-8
docs/docker/jar/Dockerfile
+0
-0
docs/docker/readme.md
+0
-0
docs/jenkins/JenkinsFile
+0
-0
pom.xml
+1
-1
No files found.
README-zh.md
View file @
a5bea444
...
...
@@ -53,16 +53,19 @@
## 项目结构
```
text
└── spring-boot-plus
├── admin SpringBootAdmin Server模块
├── admin SpringBootAdmin Server
服务监控
模块
├── bootstrap spring-boot-plus 启动模块
├── config 配置模块
├── distribution 打包模块
├── docs 文档目录
├── example 示例模块,自己的业务可新建多个模块处理
├── framework 框架核心模块
├── generator 代码生成模块
├── scheduled 任务调度模块
└── system 系统模块
└── api-system 平台管理系统api模块
└── api-app app的api模块
└── api-merchant 商家api服务模块
└── common 通用模块
```
### 项目环境
...
...
README.md
View file @
a5bea444
# 卓美亚航空 - 后端项目
## 框架介绍
> 本项目使用第三方开源脚手架项目: spring-boot-plus
> 本项目使用第三方开源脚手架项目: spring-boot-plus
参考:README-zh.md
## 项目结构
...
...
@@ -20,7 +20,9 @@
└── api-merchant 商家api服务模块
└── common 通用模块
> 参考:README-zh.md
## 安装软件
redis
mysql5.7
api-app/pom.xml
View file @
a5bea444
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://maven.apache.org/POM/4.0.0"
...
...
api-app/src/main/java/com/jumeirah/api/app/controller/AppHelloWorldController.java
View file @
a5bea444
/*
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
jumeirah
.
api
.
app
.
controller
;
...
...
api-merchant/pom.xml
View file @
a5bea444
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://maven.apache.org/POM/4.0.0"
...
...
common/src/main/java/com/jumeirah/common
/controller/DownloadController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/DownloadController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.config.properties.SpringBootPlusProperties
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
...
...
common/src/main/java/com/jumeirah/common
/controller/HelloWorldController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/HelloWorldController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
...
...
@@ -36,7 +36,7 @@ import java.io.IOException;
@Slf4j
@Api
(
value
=
"Hello World"
,
tags
=
{
"Hello World"
})
@RestController
@RequestMapping
(
"/hello"
)
@RequestMapping
(
"/
system/
hello"
)
public
class
HelloWorldController
{
/**
...
...
@@ -49,8 +49,8 @@ public class HelloWorldController {
@OperationLog
(
name
=
"helloWorld"
)
@ApiOperation
(
value
=
"Hello World"
,
response
=
String
.
class
)
public
ApiResult
<
String
>
helloWorld
()
throws
IOException
{
log
.
debug
(
"Hello World..."
);
return
ApiResult
.
ok
(
"Hello World"
);
log
.
debug
(
"Hello World...
/system
"
);
return
ApiResult
.
ok
(
"Hello World
/system
"
);
}
}
common/src/main/java/com/jumeirah/common
/controller/LoginController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/LoginController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
...
...
common/src/main/java/com/jumeirah/common
/controller/RegisterController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/RegisterController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
...
...
common/src/main/java/com/jumeirah/common
/controller/ResourceController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/ResourceController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.config.properties.SpringBootPlusProperties
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
...
...
common/src/main/java/com/jumeirah/common
/controller/SysDepartmentController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/SysDepartmentController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
...
...
common/src/main/java/com/jumeirah/common
/controller/SysPermissionController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/SysPermissionController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
...
...
common/src/main/java/com/jumeirah/common
/controller/SysRoleController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/SysRoleController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
...
...
common/src/main/java/com/jumeirah/common
/controller/SysUserController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/SysUserController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.config.properties.SpringBootPlusProperties
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
...
...
common/src/main/java/com/jumeirah/common
/controller/UploadController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/UploadController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.config.properties.SpringBootPlusProperties
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
...
...
common/src/main/java/com/jumeirah/common
/controller/VerificationCodeController.java
→
api-system/src/main/java/com/jumeirah/api/system
/controller/VerificationCodeController.java
View file @
a5bea444
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
jumeirah
.
common
.
controller
;
package
com
.
jumeirah
.
api
.
system
.
controller
;
import
io.geekidea.springbootplus.config.constant.CommonConstant
;
import
io.geekidea.springbootplus.config.constant.CommonRedisKey
;
...
...
bootstrap/pom.xml
View file @
a5bea444
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
...
...
config/src/main/resources/config/application.yml
View file @
a5bea444
...
...
@@ -2,7 +2,7 @@
############################# 访问路径、端口tomcat start #############################
server
:
port
:
888
8
port
:
888
9
servlet
:
context-path
:
/api
tomcat
:
...
...
@@ -14,7 +14,7 @@ server:
################################ spring config start ###############################
spring
:
application
:
name
:
spring-boot-plus
name
:
jumeirah
http
:
encoding
:
charset
:
UTF-8
...
...
@@ -189,13 +189,13 @@ spring-boot-plus:
# 排除Swagger
-
${spring-boot-plus.swagger-paths}
# 排除actuator
-
/actuator/**
#
- /actuator/**
-
# 排除首页
-
/,/index.html
# 排除测试路径
-
/hello/world,/fooBar/**,/exampleOrder/**
-
/app/hello/*
-
/system/hello/*
# 多行字符串权限配置
filter-chain-definitions
:
|
...
...
@@ -305,11 +305,11 @@ spring-boot-plus:
enable
:
true
base
:
# 扫描的包,多个包使用逗号隔开
package
:
io.geekidea.springbootplus,com.
example
package
:
io.geekidea.springbootplus,com.
jumeirah
contact
:
email
:
geekidea@qq.com
name
:
springboot.plus
url
:
https://springboot.plus
email
:
jumeirah
name
:
jumeirah
url
:
jumeirah
description
:
title
:
${spring.application.name} API Documents
url
:
https://springboot.plus
...
...
docker/jar/Dockerfile
→
doc
s/doc
ker/jar/Dockerfile
View file @
a5bea444
File moved
docker/readme.md
→
doc
s/doc
ker/readme.md
View file @
a5bea444
File moved
jenkins/JenkinsFile
→
docs/
jenkins/JenkinsFile
View file @
a5bea444
File moved
pom.xml
View file @
a5bea444
...
...
@@ -61,7 +61,7 @@
<module>
admin
</module>
<module>
bootstrap
</module>
<module>
config
</module>
<module>
distribution
</module
>
<!-- <module>distribution</module>--
>
<module>
framework
</module>
<module>
generator
</module>
<module>
scheduled
</module>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment