Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SiEn
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
SiEn
Commits
f6e432ad
Commit
f6e432ad
authored
Sep 23, 2020
by
giaogiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
fcac9aa7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
README.md
+6
-2
config/src/main/resources/config/application-dev.yml
+2
-3
config/src/main/resources/config/application.yml
+4
-5
No files found.
README.md
View file @
f6e432ad
...
...
@@ -49,7 +49,9 @@ api-system api-app api-merchant
模块下每个控制器url路径必须要加上前缀
```"/merchant/"```
,这样为了方便权限控制
像这样:
```
@RequestMapping("/merchant/register/")```
```
@RequestMapping("/merchant/register/")
```
注册业务逻辑要调用common模块中的service去操作
...
...
@@ -60,7 +62,9 @@ api-system api-app api-merchant
模块下每个控制器url路径必须要加上前缀
```"/app/"```
,这样为了方便权限控制
像这样:
```
@RequestMapping("/app/register/")
```
```
@RequestMapping("/app/register/")
```
注册业务逻辑要调用common模块中的service去操作
...
...
config/src/main/resources/config/application-dev.yml
View file @
f6e432ad
...
...
@@ -14,10 +14,9 @@ spring-boot-plus:
spring
:
datasource
:
# url: jdbc:mysql://localhost:3306/spring_boot_plus?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/Jumeirah?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://47.99.47.225:3306/Jumeirah?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
password
:
123
password
:
temple123456
# Redis配置
redis
:
...
...
config/src/main/resources/config/application.yml
View file @
f6e432ad
...
...
@@ -6,8 +6,8 @@ server:
servlet
:
context-path
:
/api
tomcat
:
max-threads
:
10
00
min-spare-threads
:
3
0
max-threads
:
2
00
min-spare-threads
:
1
0
uri-encoding
:
UTF-8
############################# 访问路径、端口tomcat end ###############################
...
...
@@ -192,8 +192,6 @@ spring-boot-plus:
# - /actuator/**
-
# 排除首页
-
/,/index.html
-
/app/world/*
-
/system/hello/*
# 多行字符串权限配置
filter-chain-definitions
:
|
...
...
@@ -201,7 +199,8 @@ spring-boot-plus:
/upload/**=anon
/verificationCode/**=anon
/enum=anon
# /getSysUserInfo=anon
# 配置/app/**路径下登陆的用户就能访问
/app/**=authc
######################## Spring Shiro end ##########################
...
...
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