Commit f6e432ad by giaogiao

修改介绍

parent fcac9aa7
...@@ -49,7 +49,9 @@ api-system api-app api-merchant ...@@ -49,7 +49,9 @@ api-system api-app api-merchant
模块下每个控制器url路径必须要加上前缀```"/merchant/"```,这样为了方便权限控制 模块下每个控制器url路径必须要加上前缀```"/merchant/"```,这样为了方便权限控制
像这样: 像这样:
```@RequestMapping("/merchant/register/")``` ```
@RequestMapping("/merchant/register/")
```
注册业务逻辑要调用common模块中的service去操作 注册业务逻辑要调用common模块中的service去操作
...@@ -60,7 +62,9 @@ api-system api-app api-merchant ...@@ -60,7 +62,9 @@ api-system api-app api-merchant
模块下每个控制器url路径必须要加上前缀```"/app/"```,这样为了方便权限控制 模块下每个控制器url路径必须要加上前缀```"/app/"```,这样为了方便权限控制
像这样: 像这样:
```@RequestMapping("/app/register/")``` ```
@RequestMapping("/app/register/")
```
注册业务逻辑要调用common模块中的service去操作 注册业务逻辑要调用common模块中的service去操作
......
...@@ -14,10 +14,9 @@ spring-boot-plus: ...@@ -14,10 +14,9 @@ spring-boot-plus:
spring: spring:
datasource: datasource:
# url: jdbc:mysql://localhost:3306/spring_boot_plus?serverTimezone=Asia/Shanghai&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
url: jdbc:mysql://localhost:3306/Jumeirah?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username: root username: root
password: 123 password: temple123456
# Redis配置 # Redis配置
redis: redis:
......
...@@ -6,8 +6,8 @@ server: ...@@ -6,8 +6,8 @@ server:
servlet: servlet:
context-path: /api context-path: /api
tomcat: tomcat:
max-threads: 1000 max-threads: 200
min-spare-threads: 30 min-spare-threads: 10
uri-encoding: UTF-8 uri-encoding: UTF-8
############################# 访问路径、端口tomcat end ############################### ############################# 访问路径、端口tomcat end ###############################
...@@ -192,8 +192,6 @@ spring-boot-plus: ...@@ -192,8 +192,6 @@ spring-boot-plus:
# - /actuator/** # - /actuator/**
- # 排除首页 - # 排除首页
- /,/index.html - /,/index.html
- /app/world/*
- /system/hello/*
# 多行字符串权限配置 # 多行字符串权限配置
filter-chain-definitions: | filter-chain-definitions: |
...@@ -201,7 +199,8 @@ spring-boot-plus: ...@@ -201,7 +199,8 @@ spring-boot-plus:
/upload/**=anon /upload/**=anon
/verificationCode/**=anon /verificationCode/**=anon
/enum=anon /enum=anon
# /getSysUserInfo=anon # 配置/app/**路径下登陆的用户就能访问
/app/**=authc
######################## Spring Shiro end ########################## ######################## Spring Shiro end ##########################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment