feat(菜单管理): service-sys项目环境搭建
This commit is contained in:
parent
123542d51f
commit
197d203685
|
@ -14,6 +14,7 @@
|
|||
<file url="file://$PROJECT_DIR$/model/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/model/src/main/resources-filtered" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/service/service-acl/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/service/service-sys/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/service/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/service/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/service/src/main/resources-filtered" charset="UTF-8" />
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<url>https://maven.apache.org</url>
|
||||
<modules>
|
||||
<module>service-acl</module>
|
||||
<module>service-sys</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
server:
|
||||
port: 8200
|
||||
|
||||
|
||||
bunny:
|
||||
datasource:
|
||||
host: 106.15.251.123
|
||||
|
@ -24,14 +24,4 @@ bunny:
|
|||
endpointUrl: "http://129.211.31.58:9000"
|
||||
bucket-name: ssyx
|
||||
accessKey: bunny
|
||||
secretKey: "02120212"
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.atguigu.ssyx.acl.mapper: debug
|
||||
com.atguigu.ssyx.acl.controller: info
|
||||
com.atguigu.ssyx.acl.service: info
|
||||
pattern:
|
||||
dateformat: HH:mm:ss:SSS
|
||||
file:
|
||||
path: "logs/${spring.application.name}"
|
||||
secretKey: "02120212"
|
|
@ -34,17 +34,25 @@ mybatis-plus:
|
|||
map-underscore-to-camel-case: true
|
||||
auto-mapping-behavior: full
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
|
||||
# global-config:
|
||||
# db-config:
|
||||
# 设置表名前缀,不用在每个tableName添加前缀
|
||||
# table-prefix: t_
|
||||
# 全局配置主键值方式
|
||||
# id-type: assign_id
|
||||
# 指定逻辑删除-未删除
|
||||
# logic-not-delete-value: 0 # 未删除默认为0
|
||||
# 指定逻辑删除-删除
|
||||
# logic-delete-value: 1 # 删除
|
||||
# logic-delete-field: deleted # 全局配置逻辑删除
|
||||
global-config:
|
||||
db-config:
|
||||
# 设置表名前缀,不用在每个tableName添加前缀
|
||||
# table-prefix: t_
|
||||
# 全局配置主键值方式
|
||||
id-type: assign_id
|
||||
logic-not-delete-value: 0 # 未删除默认为0
|
||||
logic-delete-value: 1 # 删除
|
||||
logic-delete-field: deleted # 全局配置逻辑删除
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.atguigu.ssyx.acl.mapper: debug
|
||||
com.atguigu.ssyx.acl.controller: info
|
||||
com.atguigu.ssyx.acl.service: info
|
||||
pattern:
|
||||
dateformat: HH:mm:ss:SSS
|
||||
file:
|
||||
path: "logs/${spring.application.name}"
|
||||
|
||||
bunny:
|
||||
minio:
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.atguigu</groupId>
|
||||
<artifactId>service</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>service-sys</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>service-sys</name>
|
||||
<url>https://maven.apache.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,27 @@
|
|||
server:
|
||||
port: 8200
|
||||
|
||||
bunny:
|
||||
datasource:
|
||||
host: 106.15.251.123
|
||||
port: 3305
|
||||
sqlData: shequ-acl
|
||||
username: root
|
||||
password: "02120212"
|
||||
|
||||
nacos:
|
||||
server-addr: z-bunny.cn:8848
|
||||
discovery:
|
||||
namespace: ssyx
|
||||
|
||||
redis:
|
||||
host: 47.120.65.66
|
||||
port: 6379
|
||||
database: 2
|
||||
password: "02120212"
|
||||
|
||||
minio:
|
||||
endpointUrl: "http://129.211.31.58:9000"
|
||||
bucket-name: ssyx
|
||||
accessKey: bunny
|
||||
secretKey: "02120212"
|
|
@ -0,0 +1,63 @@
|
|||
server:
|
||||
port: 8202
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: service-sys
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
||||
username: ${bunny.datasource.username}
|
||||
password: "${bunny.datasource.password}"
|
||||
|
||||
cloud:
|
||||
sentinel:
|
||||
log:
|
||||
dir: logs/${spring.application.name}/sentinel
|
||||
nacos:
|
||||
discovery:
|
||||
namespace: ${bunny.nacos.discovery.namespace}
|
||||
server-addr: ${bunny.nacos.server-addr}
|
||||
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: GMT+8
|
||||
|
||||
|
||||
mybatis-plus:
|
||||
type-aliases-package: com.atguigu.model # 配置每个包前缀
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
auto-mapping-behavior: full
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
|
||||
global-config:
|
||||
db-config:
|
||||
# 设置表名前缀,不用在每个tableName添加前缀
|
||||
# table-prefix: t_
|
||||
# 全局配置主键值方式
|
||||
id-type: assign_id
|
||||
logic-not-delete-value: 0 # 未删除默认为0
|
||||
logic-delete-value: 1 # 删除
|
||||
logic-delete-field: deleted # 全局配置逻辑删除
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.atguigu.ssyx.acl.mapper: debug
|
||||
com.atguigu.ssyx.acl.controller: info
|
||||
com.atguigu.ssyx.acl.service: info
|
||||
pattern:
|
||||
dateformat: HH:mm:ss:SSS
|
||||
file:
|
||||
path: "logs/${spring.application.name}"
|
||||
|
||||
# bunny:
|
||||
# minio:
|
||||
# endpointUrl: ${bunny.minio.endpointUrl}
|
||||
# accessKey: ${bunny.minio.accessKey}
|
||||
# secretKey: ${bunny.minio.secretKey}
|
||||
# bucket-name: ${bunny.minio.bucket-name}
|
Loading…
Reference in New Issue