feat(comment): 初始化评论服务模块
- 新增评论服务基础结构,包括 api 和 biz 模块 - 配置应用启动端口、Nacos 服务发现与配置中心 - 添加 MyBatis-Plus、MySQL、Druid 等依赖 - 创建评论表和评论点赞表 SQL 脚本 - 配置日志输出格式及异步写入策略 - 更新 IDEA 编码设置和数据源映射 - 在父级 pom 中注册评论服务模块
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
server:
|
||||
port: 8093 # 项目启动的端口
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: dev # 默认激活 dev 本地开发环境
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 20MB # 单个文件最大大小
|
||||
max-request-size: 100MB # 单次请求最大大小(包含多个文件)
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||
global-config:
|
||||
banner: false
|
||||
mapper-locations: classpath*:/mapperxml/*.xml
|
||||
Reference in New Issue
Block a user