feat(user-relation): 初始化用户关系服务模块
- 新增用户关注和粉丝数据表结构及对应 DO、Mapper、Service 层代码 - 配置 RedisTemplate 以支持 JSON 格式的值序列化 - 添加全局异常处理器处理业务、参数校验等异常情况 - 完成模块基础配置文件(application.yml、bootstrap.yml)的初始化 - 在 SQL 脚本中新增 t_following 和 t_fans 表定义 - 更新 .gitignore、IDEA 编码设置以及 Maven 模块依赖关系 - 增加日志配置文件 logback-spring.xml 并区分环境输出方式 - 创建模块启动类 HannoteUserRelationBizApplication 并启用 MyBatis Mapper 扫描
This commit is contained in:
25
han-note-user-relation/han-note-user-relation-api/pom.xml
Normal file
25
han-note-user-relation/han-note-user-relation-api/pom.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
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.hanserwei</groupId>
|
||||
<artifactId>han-note-user-relation</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
<!-- 打包方式 -->
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<artifactId>han-note-user-relation-api</artifactId>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>RPC层, 供其他服务调用</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.hanserwei</groupId>
|
||||
<artifactId>hanserwei-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user