Commit 41afea681850137303bf6088a740222f94ca717e

Authored by YunaiV
1 parent b586a09b

【功能新增】MALL:新增 mall 客服

... ... @@ -16,12 +16,12 @@
16 16 <module>yudao-module-system</module>
17 17 <module>yudao-module-infra</module>
18 18 <!-- <module>yudao-module-member</module>-->
19   - <module>yudao-module-bpm</module>
  19 +<!-- <module>yudao-module-bpm</module>-->
20 20 <!-- <module>yudao-module-report</module>-->
21 21 <!-- <module>yudao-module-mp</module>-->
22 22 <!-- <module>yudao-module-pay</module>-->
23 23 <!-- <module>yudao-module-mall</module>-->
24   - <module>yudao-module-crm</module>
  24 +<!-- <module>yudao-module-crm</module>-->
25 25 <!-- <module>yudao-module-erp</module>-->
26 26 <!-- <module>yudao-module-ai</module>-->
27 27 </modules>
... ...
sql/mysql/mall-promotion-kefu.sql deleted
1   -DROP TABLE IF EXISTS `promotion_kefu_conversation`;
2   -CREATE TABLE `promotion_kefu_conversation` (
3   - `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
4   - `user_id` bigint NOT NULL COMMENT '会话所属用户',
5   - `last_message_time` datetime NOT NULL COMMENT '最后聊天时间',
6   - `last_message_content` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '最后聊天内容',
7   - `last_message_content_type` int NOT NULL COMMENT '最后发送的消息类型',
8   - `admin_pinned` bit(1) NOT NULL DEFAULT b'0' COMMENT '管理端置顶',
9   - `user_deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '用户是否可见',
10   - `admin_deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '管理员是否可见',
11   - `admin_unread_message_count` int NOT NULL COMMENT '管理员未读消息数',
12   - `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '创建者',
13   - `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
14   - `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '更新者',
15   - `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
16   - `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
17   - `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号',
18   - PRIMARY KEY (`id`) USING BTREE
19   -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='客服会话';
20   -
21   -DROP TABLE IF EXISTS `promotion_kefu_message`;
22   -CREATE TABLE `promotion_kefu_message` (
23   - `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
24   - `conversation_id` bigint NOT NULL COMMENT '会话编号',
25   - `sender_id` bigint NOT NULL COMMENT '发送人编号',
26   - `sender_type` int NOT NULL COMMENT '发送人类型',
27   - `receiver_id` bigint DEFAULT NULL COMMENT '接收人编号',
28   - `receiver_type` int DEFAULT NULL COMMENT '接收人类型',
29   - `content_type` int NOT NULL COMMENT '消息类型',
30   - `content` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '消息',
31   - `read_status` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否已读',
32   - `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '创建者',
33   - `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
34   - `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '更新者',
35   - `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
36   - `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
37   - `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号',
38   - PRIMARY KEY (`id`) USING BTREE
39   -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='客服消息';
40 0 \ No newline at end of file
yudao-server/pom.xml
... ... @@ -46,11 +46,11 @@
46 46 <!-- <version>${revision}</version>-->
47 47 <!-- </dependency>-->
48 48 <!-- 工作流。默认注释,保证编译速度 -->
49   - <dependency>
50   - <groupId>cn.iocoder.boot</groupId>
51   - <artifactId>yudao-module-bpm-biz</artifactId>
52   - <version>${revision}</version>
53   - </dependency>
  49 +<!-- <dependency>-->
  50 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  51 +<!-- <artifactId>yudao-module-bpm-biz</artifactId>-->
  52 +<!-- <version>${revision}</version>-->
  53 +<!-- </dependency>-->
54 54 <!-- 支付服务。默认注释,保证编译速度 -->
55 55 <!-- <dependency>-->
56 56 <!-- <groupId>cn.iocoder.boot</groupId>-->
... ... @@ -88,11 +88,11 @@
88 88 <!-- </dependency>-->
89 89  
90 90 <!-- CRM 相关模块。默认注释,保证编译速度 -->
91   - <dependency>
92   - <groupId>cn.iocoder.boot</groupId>
93   - <artifactId>yudao-module-crm-biz</artifactId>
94   - <version>${revision}</version>
95   - </dependency>
  91 +<!-- <dependency>-->
  92 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  93 +<!-- <artifactId>yudao-module-crm-biz</artifactId>-->
  94 +<!-- <version>${revision}</version>-->
  95 +<!-- </dependency>-->
96 96  
97 97 <!-- ERP 相关模块。默认注释,保证编译速度 -->
98 98 <!-- <dependency>-->
... ...