mirror of https://gitee.com/stylefeng/roses
【message】系统消息模块初步划分
parent
b33e72d017
commit
4a5da6eaf5
|
@ -0,0 +1,3 @@
|
|||
系统消息模块
|
||||
|
||||
系统消息模块可以发送消息记录,已读未读状态
|
|
@ -0,0 +1 @@
|
|||
系统消息模块的api
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-message</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>message-api</artifactId>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!--auth模块的api-->
|
||||
<!--记录日志时候,有可能需要记录当前登录用户id-->
|
||||
<!--如果不要记录当前登录用户id时就不用本模块,所以optional=true-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>auth-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!--参数校验模块-->
|
||||
<!--包含带参数校验注解的类-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>validator-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--数据库模块 api-->
|
||||
<!--分页查询需要用到PageResult相关类-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>db-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--web-->
|
||||
<!--LogRecordFactory快速创建http类的日志参数会用到-->
|
||||
<!--如果不要记录当前请求的http接口信息,就不用本模块,所以optional=true-->
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,14 @@
|
|||
package cn.stylefeng.roses.kernel.message.api;
|
||||
|
||||
/**
|
||||
* 系统消息相关接口
|
||||
* <p>
|
||||
* 接口可以有多种实现,目前只实现数据库存储方式
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 20:21
|
||||
*/
|
||||
public interface MessageApi {
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.constants;
|
||||
|
||||
/**
|
||||
* message模块的常量
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 20:58
|
||||
*/
|
||||
public interface MessageConstants {
|
||||
|
||||
/**
|
||||
* 消息模块的名称
|
||||
*/
|
||||
String MESSAGE_MODULE_NAME = "kernel-d-message";
|
||||
|
||||
/**
|
||||
* 异常枚举的步进值
|
||||
*/
|
||||
String MESSAGE_EXCEPTION_STEP_CODE = "23";
|
||||
|
||||
/**
|
||||
* 发送所有用户标识
|
||||
*/
|
||||
String RECEIVE_ALL_USER_FLAG = "all";
|
||||
|
||||
/**
|
||||
* 默认查询日志分页
|
||||
*/
|
||||
Integer DEFAULT_BEGIN_PAGE_NO = 1;
|
||||
|
||||
/**
|
||||
* 默认查询日志分页大小
|
||||
*/
|
||||
Integer DEFAULT_PAGE_SIZE = 10;
|
||||
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.context;
|
||||
|
||||
import cn.hutool.extra.spring.SpringUtil;
|
||||
import cn.stylefeng.roses.kernel.message.api.MessageApi;
|
||||
|
||||
/**
|
||||
* 消息操作api的获取
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 21:13
|
||||
*/
|
||||
public class MessageContext {
|
||||
|
||||
/**
|
||||
* 获取消息操作api
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 21:13
|
||||
*/
|
||||
public static MessageApi me() {
|
||||
return SpringUtil.getBean(MessageApi.class);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.exception;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.api.constants.MessageConstants;
|
||||
import cn.stylefeng.roses.kernel.rule.abstracts.AbstractExceptionEnum;
|
||||
import cn.stylefeng.roses.kernel.rule.exception.base.ServiceException;
|
||||
|
||||
/**
|
||||
* 消息异常枚举
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 20:55
|
||||
*/
|
||||
public class MessageException extends ServiceException {
|
||||
|
||||
public MessageException(AbstractExceptionEnum exception) {
|
||||
super(MessageConstants.MESSAGE_MODULE_NAME, exception);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.exception.enums;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.api.constants.MessageConstants;
|
||||
import cn.stylefeng.roses.kernel.rule.abstracts.AbstractExceptionEnum;
|
||||
import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 消息异常枚举
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 21:14
|
||||
*/
|
||||
@Getter
|
||||
public enum MessageExceptionEnum implements AbstractExceptionEnum {
|
||||
|
||||
/**
|
||||
* 发送系统消息时,传入的参数中receiveUserIds不合法
|
||||
*/
|
||||
ERROR_RECEIVE_USER_IDS(RuleConstants.BUSINESS_ERROR_TYPE_CODE + MessageConstants.MESSAGE_EXCEPTION_STEP_CODE + "01", "接收用户id字符串不合法!");
|
||||
|
||||
/**
|
||||
* 错误编码
|
||||
*/
|
||||
private final String errorCode;
|
||||
|
||||
/**
|
||||
* 提示用户信息
|
||||
*/
|
||||
private final String userTip;
|
||||
|
||||
MessageExceptionEnum(String errorCode, String userTip) {
|
||||
this.errorCode = errorCode;
|
||||
this.userTip = userTip;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.pojo.manage;
|
||||
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 系统消息的查询参数
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 20:23
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class MessageParam extends BaseRequest {
|
||||
|
||||
/**
|
||||
* 消息id
|
||||
*/
|
||||
@NotNull(message = "messageId不能为空", groups = {edit.class, delete.class, detail.class})
|
||||
private Long messageId;
|
||||
|
||||
/**
|
||||
* 接收用户id
|
||||
*/
|
||||
private Long receiveUserId;
|
||||
|
||||
/**
|
||||
* 发送用户id
|
||||
*/
|
||||
private Long sendUserId;
|
||||
|
||||
/**
|
||||
* 消息标题
|
||||
*/
|
||||
private String messageTitle;
|
||||
|
||||
/**
|
||||
* 消息的内容
|
||||
*/
|
||||
private String messageContent;
|
||||
|
||||
/**
|
||||
* 消息类型
|
||||
*/
|
||||
private String messageType;
|
||||
|
||||
/**
|
||||
* 消息发送时间
|
||||
*/
|
||||
private Date messageSendTime;
|
||||
|
||||
/**
|
||||
* 业务id
|
||||
*/
|
||||
private Long businessId;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 阅读状态:0-未读,1-已读
|
||||
*/
|
||||
private Integer readFlag;
|
||||
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
package cn.stylefeng.roses.kernel.message.api.pojo.manage;
|
||||
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* 发送系统消息的参数
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 20:23
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class MessageSendParam extends BaseRequest {
|
||||
|
||||
/**
|
||||
* 接收用户id字符串,多个以,分割
|
||||
*/
|
||||
@NotBlank(message = "接收用户ID字符串不能为空", groups = {add.class, edit.class})
|
||||
private String receiveUserIds;
|
||||
|
||||
/**
|
||||
* 消息标题
|
||||
*/
|
||||
@NotBlank(message = "消息标题不能为空", groups = {add.class, edit.class})
|
||||
private String messageTitle;
|
||||
|
||||
/**
|
||||
* 消息的内容
|
||||
*/
|
||||
private String messageContent;
|
||||
|
||||
/**
|
||||
* 消息类型
|
||||
*/
|
||||
private String messageType;
|
||||
|
||||
/**
|
||||
* 业务id
|
||||
*/
|
||||
@NotBlank(message = "业务id不能为空", groups = {add.class, edit.class})
|
||||
private Long businessId;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
@NotBlank(message = "业务类型不能为空", groups = {add.class, edit.class})
|
||||
private String businessType;
|
||||
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
系统消息业务模块,包含发送消息,查看消息,消息列表,已读消息,未读消息的业务
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-log</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>message-business</artifactId>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!--消息api模块-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>message-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--资源api模块-->
|
||||
<!--用在资源控制器,资源扫描上-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>scanner-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--参数校验模块-->
|
||||
<!--用在控制器,参数校验-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>validator-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--数据库sdk-->
|
||||
<!--数据库dao框架-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>db-sdk-mp</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--web模块-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,25 @@
|
|||
package cn.stylefeng.roses.kernel.message.modular.manage.controller;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.api.MessageApi;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 系统消息控制器
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2021/1/1 22:30
|
||||
*/
|
||||
@RestController
|
||||
@ApiResource(name = "系统消息控制器")
|
||||
public class SysMessageController {
|
||||
|
||||
/**
|
||||
* 系统消息api
|
||||
*/
|
||||
@Autowired
|
||||
private MessageApi messageApi;
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
系统消息记录的sdk,用于将消息记录到数据库中,提供相关消息管理接口
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-message</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>message-sdk-db</artifactId>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!--消息模块的api-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>message-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--数据库sdk-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>db-sdk-mp</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,87 @@
|
|||
package cn.stylefeng.roses.kernel.message.db.entity;
|
||||
|
||||
import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 系统消息
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2020/12/31 20:09
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@TableName("sys_message")
|
||||
public class SysMessage extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(value = "message_id", type = IdType.ASSIGN_ID)
|
||||
private Long messageId;
|
||||
|
||||
/**
|
||||
* 接收用户id
|
||||
*/
|
||||
@TableId(value = "receive_user_id")
|
||||
private Long receiveUserId;
|
||||
|
||||
/**
|
||||
* 发送用户id
|
||||
*/
|
||||
@TableId(value = "send_user_id")
|
||||
private Long sendUserId;
|
||||
|
||||
/**
|
||||
* 消息标题
|
||||
*/
|
||||
@TableField(value = "message_title")
|
||||
private String messageTitle;
|
||||
|
||||
/**
|
||||
* 消息的内容
|
||||
*/
|
||||
@TableField(value = "message_content")
|
||||
private String messageContent;
|
||||
|
||||
/**
|
||||
* 消息类型
|
||||
*/
|
||||
@TableField(value = "message_type")
|
||||
private String messageType;
|
||||
|
||||
/**
|
||||
* 消息发送时间
|
||||
*/
|
||||
@TableField(value = "message_send_time")
|
||||
private Date messageSendTime;
|
||||
|
||||
/**
|
||||
* 业务id
|
||||
*/
|
||||
@TableField(value = "business_id")
|
||||
private Long businessId;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
@TableField(value = "business_type")
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 阅读状态:0-未读,1-已读
|
||||
*/
|
||||
@TableField(value = "read_flag")
|
||||
private Integer readFlag;
|
||||
|
||||
/**
|
||||
* 是否删除:Y-已删除,N-未删除
|
||||
*/
|
||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||
private String delFlag;
|
||||
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
package cn.stylefeng.roses.kernel.message.db.mapper;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.db.entity.SysMessage;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 系统消息 Mapper 接口
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2020/12/31 20:09
|
||||
*/
|
||||
public interface SysMessageMapper extends BaseMapper<SysMessage> {
|
||||
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="cn.stylefeng.roses.kernel.message.db.mapper.SysMessageMapper">
|
||||
</mapper>
|
|
@ -0,0 +1,14 @@
|
|||
package cn.stylefeng.roses.kernel.message.db.service;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.db.entity.SysMessage;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* 系统消息 service接口
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2020/12/31 20:09
|
||||
*/
|
||||
public interface SysMessageService extends IService<SysMessage> {
|
||||
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
package cn.stylefeng.roses.kernel.message.db.service.impl;
|
||||
|
||||
import cn.stylefeng.roses.kernel.message.db.entity.SysMessage;
|
||||
import cn.stylefeng.roses.kernel.message.db.mapper.SysMessageMapper;
|
||||
import cn.stylefeng.roses.kernel.message.db.service.SysMessageService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 系统消息 service接口实现类
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2020/12/31 20:09
|
||||
*/
|
||||
@Service
|
||||
public class SysMessageServiceImpl extends ServiceImpl<SysMessageMapper, SysMessage> implements SysMessageService {
|
||||
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
系统消息的spring boot自动加载模块
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-message</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>message-spring-boot-starter</artifactId>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!--消息管理-->
|
||||
<!--<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>message-business-manage</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>-->
|
||||
|
||||
|
||||
<!--消息默认记录到库中-->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>message-sdk-db</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
package cn.stylefeng.roses.kernel.message.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 系统消息的自动配置
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @date 2020/12/31 18:50
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsMessageAutoConfiguration {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.message.starter.GunsMessageAutoConfiguration
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>cn.stylefeng.roses</groupId>
|
||||
<artifactId>roses-kernel</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>kernel-d-message</artifactId>
|
||||
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
<module>message-api</module>
|
||||
<module>message-business</module>
|
||||
<module>message-sdk-db</module>
|
||||
<module>message-spring-boot-starter</module>
|
||||
</modules>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- 开发规则 -->
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-a-rule</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue