commit da4b2059baa8b712a96002c8b0bc0e21e5c888d5
Author: 王宇航 <653809315@qq.com>
Date: Tue Nov 3 13:51:02 2026 +0800
Initial commit: yunjiao server
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c8c6b90
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,18 @@
+# Build output
+target/
+**/target/
+
+# Runtime and IDE files
+logs/
+*.log
+.idea/
+*.iml
+.DS_Store
+
+# Local environment overrides and secrets
+.env
+.env.*
+application-local.yml
+application-local.yaml
+application-local.properties
+application-dev.yml
diff --git a/DirectoryV2.xml b/DirectoryV2.xml
new file mode 100644
index 0000000..4e8b79a
--- /dev/null
+++ b/DirectoryV2.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..55eeeb7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,89 @@
+ 
+
+
likeadmin通用管理后台(Java)
+⚡️快速开发、🛠️ 一键生成代码、✅后台多端自适应、📱手机端、🖥️PC(电脑)端前台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+## 🚀🚀🚀docker本地一句命令快速部署体验
+### 快速部署
+1.安装启动 [docker](https://www.docker.com/) 之后,在终端运行以下命令,等待程序启动完毕即可体验。
+ ```shell
+ docker run -it --name likeadmin_java -p 20222:20222 -p 20223:20223 likeshop/likeadmin_java:1.5.0
+ ```
+
+
+### 本地访问
+命令运行完毕以后,请等待程序启动完毕再访问。由于谷歌浏览器对本地部署不友好原因,访问的链接下面尾部有/就带上/。PC端管理后台帐号为admin,密码为123456 。
+PC端管理后台:http://127.0.0.1:20222/
+
PC端前台:http://127.0.0.1:20223/pc/
+
手机端前台:http://127.0.0.1:20223/mobile/
+### ⚠️注意
+docker快速部署只适合本地部署体验,不熟悉docker请勿用于生产环境,可能造成数据丢失等问题。
+
+
+
+## 👀体验
+### 管理后台
+地址:https://java-admin.likeadmin.cn
+账号:admin 密码:123456
+### 手机端uniapp前台
+
+### 手机端网页前台
+https://java-front.likeadmin.cn/mobile
+### PC(电脑)端网页前台
+https://java-front.likeadmin.cn/pc/
+### 开发文档
+地址:[https://www.likeadmin.cn](https://www.likeadmin.cn "https://www.likeadmin.cn")
+
+
+## 👨💻简介
+我们希望能够为开源社区做出更多的贡献,推出永久免费开源的likeadmin通用前后端分离管理后台系统。遵循MIT开源许可协议,您可以免费使用,甚至允许把你基于likeadmin开发的软件应用开源、发布、销售。
+
+## 🧐进一步了解
+### 🧰场景介绍
+1.likeadmin已经搭建好前后端分离的底层,包含程序安装、登录、登出、工作台、菜单权限控制、角色、管理员、部门管理、岗位管理、素材管理、网站设置、图库管理等基础功能,无需重复造轮子。更有开发者工具功能,一键生成代码,大大节省开发时间。
+2.可视化系统程序安装界面,可自定义安装数据,开发者可快速扩展发行自己的软件产品。
+3.likeadmin定位为通用的软件系统管理后台,方便开发者快速开发软件系统,文档清晰、代码易懂、简单易用。
+4.手机端uniapp前台,含导导航配置、微信登录、个人登录等等基础功能,方便根据业务开发含手机前台的项目。
+
+
+### 🐙 后端架构方面
+1.服务端使用Java8开发,性能有突破性的提升。
+2.使用Spring Boot2.7.5框架,目前国内流行的Java框架,高性能、简单易用、文档齐全、支持Mave高级项目管理工具、支持Redis等。
+### 🐹 前端架构方面
+#### 后台
+1.使用最流性的前后端分离方案typescript、vue3、vite开发,保持了代码的简洁、一致和规范。
+2.后台界面使用element-plus UI框架,简单精美的后台界面,丰富的组件库,方便快速开发,满足各种后台交互。
+
+### 前台
+手机端uniapp前台,可以编译成手机H5网页、微信小程序、安卓App,苹果App等客户端。
+### 🛠️ 代码生成器
+一键生成前后端业务代码,大大提示开发效率。
+## 界面预览
+### 🖥️后台页面
+
+
+
+
+
+
+### 📱手机端前台界面
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..f5cb300
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,284 @@
+
+
+
+
+ org.yj
+ yunjiao-server
+ pom
+ 1.0.0
+ 4.0.0
+
+ yj-admin
+ yj-front
+ yj-common
+ yj-generator
+
+
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+
+ 1.0.0
+ 1.8
+ 2.16.0
+
+ 5.1.49
+ 3.5.2
+ 1.2.4
+ 1.4.5
+
+ 1.18.24
+ 2.0.16
+ 3.12.0
+ 2.11.0
+ 2.11.1
+ 2.9.0
+
+ 2.3.2
+ 1.2.4
+ 6.1.2
+ 1.32.0
+ 1.32.0
+ 3.1.3
+ 2.3.2
+
+ 7.17.0
+ 5.6.54
+ 3.1.411
+ 3.10.2
+ 4.5.16
+
+ 4.4.0
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ 2.7.5
+ pom
+ import
+
+
+
+
+ mysql
+ mysql-connector-java
+ ${mysql-connector.version}
+
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${mybatis-plus.version}
+
+
+
+
+ com.github.yulichang
+ mybatis-plus-join
+ ${mybatis-plus-join.version}
+
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ ${pagehelper.version}
+
+
+
+
+ org.apache.commons
+ commons-pool2
+ ${commons-pool2.version}
+
+
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+
+
+
+
+ com.alibaba.fastjson2
+ fastjson2
+ ${fastJson2.version}
+
+
+
+
+ com.github.penggle
+ kaptcha
+ ${kaptcha.version}
+
+
+
+
+ cn.dev33
+ sa-token-spring-boot-starter
+ ${sa-token.version}
+
+
+
+
+ cn.dev33
+ sa-token-dao-redis-jackson
+ ${sa-token-redis.version}
+
+
+
+
+ org.quartz-scheduler
+ quartz
+ ${quartz-scheduler.version}
+
+
+
+
+ com.google.code.gson
+ gson
+ ${google-gson.version}
+
+
+
+
+ nl.bitwalker
+ UserAgentUtils
+ ${bitwalker.version}
+
+
+
+
+ org.apache.commons
+ commons-lang3
+ ${commons-lang3.version}
+
+
+
+
+ commons-io
+ commons-io
+ ${commons.io.version}
+
+
+
+
+ com.qiniu
+ qiniu-java-sdk
+ ${qiniu.version}
+
+
+
+
+ com.qcloud
+ cos_api
+ ${qcloud-version}
+
+
+
+
+ com.aliyun.oss
+ aliyun-sdk-oss
+ ${aliyun-oss.version}
+
+
+
+
+ com.tencentcloudapi
+ tencentcloud-sdk-java
+ ${tencentcloudapi.version}
+
+
+
+
+ com.aliyun
+ aliyun-java-sdk-core
+ ${aliyun-java.version}
+
+
+
+
+ com.alibaba
+ easyexcel
+ ${easyexcel.version}
+
+
+
+
+ com.github.oshi
+ oshi-core
+ ${oshi-core.version}
+
+
+
+
+ io.springfox
+ springfox-boot-starter
+ 3.0.0
+
+
+
+
+ com.github.binarywang
+ weixin-java-miniapp
+ ${weixin.version}
+
+
+
+
+ com.github.binarywang
+ weixin-java-mp
+ ${weixin.version}
+
+
+
+
+ com.github.binarywang
+ weixin-java-pay
+ ${weixin.version}
+
+
+
+
+ org.yj
+ yj-common
+ ${like.version}
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.6.4
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.10.0
+
+ ${java.version}
+ ${java.version}
+ ${project.build.sourceEncoding}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sql/install.sql b/sql/install.sql
new file mode 100644
index 0000000..47a1850
--- /dev/null
+++ b/sql/install.sql
@@ -0,0 +1,1221 @@
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for yj_admin
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_admin`;
+CREATE TABLE `yj_admin` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `root` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否超级管理员 0-否 1-是',
+ `name` varchar(32) NOT NULL DEFAULT '' COMMENT '名称',
+ `avatar` varchar(255) NOT NULL DEFAULT '' COMMENT '用户头像',
+ `account` varchar(32) NOT NULL DEFAULT '' COMMENT '账号',
+ `password` varchar(32) NOT NULL COMMENT '密码',
+ `login_time` int(10) DEFAULT NULL COMMENT '最后登录时间',
+ `login_ip` varchar(39) DEFAULT '' COMMENT '最后登录ip',
+ `multipoint_login` tinyint(1) unsigned DEFAULT '1' COMMENT '是否支持多处登录:1-是;0-否;',
+ `disable` tinyint(1) unsigned DEFAULT '0' COMMENT '是否禁用:0-否;1-是;',
+ `create_time` int(10) NOT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '修改时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='管理员表';
+
+-- ----------------------------
+-- Records of yj_admin
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_admin` (`id`, `root`, `name`, `avatar`, `account`, `password`, `login_time`, `login_ip`, `multipoint_login`, `disable`, `create_time`, `update_time`, `delete_time`) VALUES (1, 1, 'admin', 'api/static/default_avatar.png', 'admin', '25bc144c738d61f98f3327ec7b7071af', 1731986562, '127.0.0.1', 1, 0, 1728627656, 1728627656, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_admin_dept
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_admin_dept`;
+CREATE TABLE `yj_admin_dept` (
+ `admin_id` int(10) NOT NULL DEFAULT '0' COMMENT '管理员id',
+ `dept_id` int(10) NOT NULL DEFAULT '0' COMMENT '部门id',
+ PRIMARY KEY (`admin_id`,`dept_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='部门关联表';
+
+-- ----------------------------
+-- Records of yj_admin_dept
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_admin_jobs
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_admin_jobs`;
+CREATE TABLE `yj_admin_jobs` (
+ `admin_id` int(10) NOT NULL COMMENT '管理员id',
+ `jobs_id` int(10) NOT NULL COMMENT '岗位id',
+ PRIMARY KEY (`admin_id`,`jobs_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='岗位关联表';
+
+-- ----------------------------
+-- Records of yj_admin_jobs
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_admin_role
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_admin_role`;
+CREATE TABLE `yj_admin_role` (
+ `admin_id` int(10) NOT NULL COMMENT '管理员id',
+ `role_id` int(10) NOT NULL COMMENT '角色id',
+ PRIMARY KEY (`admin_id`,`role_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色关联表';
+
+-- ----------------------------
+-- Records of yj_admin_role
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_admin_session
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_admin_session`;
+CREATE TABLE `yj_admin_session` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `admin_id` int(11) unsigned NOT NULL COMMENT '用户id',
+ `terminal` tinyint(1) NOT NULL DEFAULT '1' COMMENT '客户端类型:1-pc管理后台 2-mobile手机管理后台',
+ `token` varchar(32) NOT NULL COMMENT '令牌',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `expire_time` int(10) NOT NULL COMMENT '到期时间',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `admin_id_client` (`admin_id`,`terminal`) USING BTREE COMMENT '一个用户在一个终端只有一个token',
+ UNIQUE KEY `token` (`token`) USING BTREE COMMENT 'token是唯一的'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员会话表';
+
+-- ----------------------------
+-- Records of yj_admin_session
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_article
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_article`;
+CREATE TABLE `yj_article` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '文章id',
+ `cid` int(11) NOT NULL COMMENT '文章分类',
+ `title` varchar(255) NOT NULL COMMENT '文章标题',
+ `desc` varchar(255) DEFAULT '' COMMENT '简介',
+ `abstract` text COMMENT '文章摘要',
+ `image` varchar(128) DEFAULT NULL COMMENT '文章图片',
+ `author` varchar(255) DEFAULT '' COMMENT '作者',
+ `content` text COMMENT '文章内容',
+ `click_virtual` int(10) DEFAULT '0' COMMENT '虚拟浏览量',
+ `click_actual` int(11) DEFAULT '0' COMMENT '实际浏览量',
+ `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否显示:1-是.0-否',
+ `sort` int(5) DEFAULT '0' COMMENT '排序',
+ `create_time` int(11) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(11) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(11) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='文章表';
+
+-- ----------------------------
+-- Records of yj_article
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_article` (`id`, `cid`, `title`, `desc`, `abstract`, `image`, `author`, `content`, `click_virtual`, `click_actual`, `is_show`, `sort`, `create_time`, `update_time`, `delete_time`) VALUES (1, 3, '让生活更精致!五款居家好物推荐,实用性超高', '##好物推荐🔥', '随着当代生活节奏的忙碌,很多人在闲暇之余都想好好的享受生活。随着科技的发展,也出现了越来越多可以帮助我们提升幸福感,让生活变得更精致的产品,下面周周就给大家盘点五款居家必备的好物,都是实用性很高的产品,周周可以保证大家买了肯定会喜欢。', 'api/static/article01.png', '红花', '拥有一台投影仪,闲暇时可以在家里直接看影院级别的大片,光是想想都觉得超级爽。市面上很多投影仪大几千,其实周周觉得没必要,选泰捷这款一千多的足够了,性价比非常高。
泰捷的专业度很高,在电视TV领域研发已经十年,有诸多专利和技术创新,荣获国内外多项技术奖项,拿下了腾讯创新工场投资,打造的泰捷视频TV端和泰捷电视盒子都获得了极高评价。
这款投影仪的分辨率在3000元内无敌,做到了真1080P高分辨率,也就是跟市场售价三千DLP投影仪一样的分辨率,真正做到了分毫毕现,像桌布的花纹、天空的云彩等,这些细节都清晰可见。
亮度方面,泰捷达到了850ANSI流明,同价位一般是200ANSI。这是因为泰捷为了提升亮度和LCD技术透射率低的问题,首创高功率LED灯源,让其亮度做到同价位最好。专业媒体也进行了多次对比,效果与3000元价位投影仪相当。
操作系统周周也很喜欢,完全不卡。泰捷作为资深音视频品牌,在系统优化方面有十年的研发经验,打造出的“零极”系统是业内公认效率最高、速度最快的系统,用户也评价它流畅度能一台顶三台,而且为了解决行业广告多这一痛点,系统内不植入任何广告。
', 1, 2, 1, 0, 1663317759, 1727070911, NULL);
+INSERT INTO `yj_article` (`id`, `cid`, `title`, `desc`, `abstract`, `image`, `author`, `content`, `click_virtual`, `click_actual`, `is_show`, `sort`, `create_time`, `update_time`, `delete_time`) VALUES (2, 2, '埋葬UI设计师的坟墓不是内卷,而是免费模式', '', '本文从另外一个角度,聊聊作者对UI设计师职业发展前景的担忧,欢迎从事UI设计的同学来参与讨论,会有赠书哦', 'api/static/article02.jpeg', '小明', '
一个职业,卷,根本就没什么大不了的,尤其是成熟且收入高的职业,不卷才不符合事物发展的规律。何况 UI 设计师的人力市场到今天也和 5 年前一样,还是停留在大型菜鸡互啄的场面。远不能和医疗、证券、教师或者演艺练习生相提并论。
真正会让我对UI设计师发展前景觉得悲观的事情就只有一件 —— 国内的互联网产品免费机制。这也是一个我一直以来想讨论的话题,就在这次写一写。
国内互联网市场的发展,是一部浩瀚的 “免费经济” 发展史。虽然今天免费已经是深入国内民众骨髓的认知,但最早的中文互联网也是需要付费的,网游也都是要花钱的。
只是自有国情在此,付费确实阻碍了互联网行业的扩张和普及,一批创业家就开始通过免费的模式为用户提供服务,从而扩大了自己的产品覆盖面和普及程度。
印象最深的就是免费急先锋周鸿祎,和现在鲜少出现在公众视野不同,一零年前他是当之无愧的互联网教主,因为他开发出了符合中国国情的互联网产品 “打法”,让 360 的发展如日中天。
就是他在自传中提到:
只要是在互联网上每个人都需要的服务,我们就认为它是基础服务,基础服务一定是免费的,这样的话不会形成价值歧视。就是说,只要这种服务是每个人都一定要用的,我一定免费提供,而且是无条件免费。增值服务不是所有人都需要的,这个比例可能会相当低,它只是百分之几甚至更少比例的人需要,所以这种服务一定要收费……
这就是互联网的游戏规则,它决定了要想建立一个有效的商业模式,就一定要有海量的用户基数……
', 2, 4, 1, 0, 1663322854, 1727071178, NULL);
+INSERT INTO `yj_article` (`id`, `cid`, `title`, `desc`, `abstract`, `image`, `author`, `content`, `click_virtual`, `click_actual`, `is_show`, `sort`, `create_time`, `update_time`, `delete_time`) VALUES (3, 1, '金山电池公布“沪广深市民绿色生活方式”调查结果', '', '60%以上受访者认为高质量的10分钟足以完成“自我充电”', 'api/static/article03.png', '中网资讯科技', '深圳,2021年10月22日)生活在一线城市的沪广深市民一向以效率见称,工作繁忙和快节奏的生活容易缺乏充足的休息。近日,一项针对沪广深市民绿色生活方式而展开的网络问卷调查引起了大家的注意。问卷的问题设定集中于市民对休息时间的看法,以及从对循环充电电池的使用方面了解其对绿色生活方式的态度。该调查采用随机抽样的模式,并对最终收集的1,500份有效问卷进行专业分析后发现,超过60%的受访者表示,在每天的工作时段能拥有10分钟高质量的休息时间,就可以高效“自我充电”。该调查结果反映出,在快节奏时代下,人们需要高质量的休息时间,也要学会利用高效率的休息方式和工具来应对快节奏的生活,以时刻保持“满电”状态。
60%以上受访者认为高质量的10分钟足以完成“自我充电”
这次调查超过1,500人,主要聚焦18至85岁的沪广深市民,了解他们对于休息时间的观念及使用充电电池的习惯,结果发现:
· 90%以上有工作受访者每天工作时间在7小时以上,平均工作时间为8小时,其中43%以上的受访者工作时间超过9小时
· 70%受访者认为在工作期间拥有10分钟“自我充电”时间不是一件困难的事情
· 60%受访者认为在工作期间有10分钟休息时间足以为自己快速充电
临床心理学家黄咏诗女士在发布会上分享为自己快速充电的实用技巧,她表示:“事实上,只要选择正确的休息方法,10分钟也足以为自己充电。以喝咖啡为例,我们可以使用心灵休息法 ── 静观呼吸,慢慢感受咖啡的温度和气味,如果能配合着聆听流水或海洋的声音,能够有效放松大脑及心灵。”
这次调查结果反映出沪广深市民的希望在繁忙的工作中适时停下来,抽出10分钟喝杯咖啡、聆听音乐或小睡片刻,为自己充电。金山电池全新推出的“绿再十分充”超快速充电器仅需10分钟就能充好电,喝一杯咖啡的时间既能完成“自我充电”,也满足设备使用的用电需求,为提升工作效率和放松身心注入新能量。
金山电池推出10分钟超快电池充电器*绿再十分充,以创新科技为市场带来革新体验
该问卷同时从沪广深市民对循环充电电池的使用方面进行了调查,以了解其对绿色生活方式的态度:
· 87%受访者目前没有使用充电电池,其中61%表示会考虑使用充电电池
· 58%受访者过往曾使用过充电电池,却只有20%左右市民仍在使用
· 60%左右受访者认为充电电池尚未被广泛使用,主要障碍来自于充电时间过长、缺乏相关教育
· 90%以上受访者认为充电电池充满电需要1小时或更长的时间
金山电池一直致力于为大众提供安全可靠的充电电池,并与消费者的需求和生活方式一起演变及进步。今天,金山电池宣布推出10分钟超快电池充电器*绿再十分充,只需10分钟*即可将4粒绿再十分充充电电池充好电,充电速度比其他品牌提升3倍**。充电器的LED灯可以显示每粒电池的充电状态和模式,并提示用户是否错误插入已损坏电池或一次性电池。尽管其体型小巧,却具备多项创新科技 ,如拥有独特的充电算法以优化充电电流,并能根据各个电池类型、状况和温度用最短的时间为充电电池充好电;绿再十分充内置横流扇,有效防止电池温度过热和提供低噪音的充电环境等。
', 11, 4, 1, 0, 1663322665, 1727071154, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_article_cate
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_article_cate`;
+CREATE TABLE `yj_article_cate` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '文章分类id',
+ `name` varchar(90) DEFAULT NULL COMMENT '分类名称',
+ `sort` int(11) DEFAULT '0' COMMENT '排序',
+ `is_show` tinyint(1) DEFAULT '1' COMMENT '是否显示:1-是;0-否',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='文章分类表';
+
+-- ----------------------------
+-- Records of yj_article_cate
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_article_cate` (`id`, `name`, `sort`, `is_show`, `create_time`, `update_time`, `delete_time`) VALUES (1, '科技', 0, 1, 1663317280, 1663317280, NULL);
+INSERT INTO `yj_article_cate` (`id`, `name`, `sort`, `is_show`, `create_time`, `update_time`, `delete_time`) VALUES (2, '生活', 0, 1, 1663317280, 1663321464, NULL);
+INSERT INTO `yj_article_cate` (`id`, `name`, `sort`, `is_show`, `create_time`, `update_time`, `delete_time`) VALUES (3, '好物', 0, 1, 1727070858, 1727070858, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_article_collect
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_article_collect`;
+CREATE TABLE `yj_article_collect` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
+ `article_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文章ID',
+ `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '收藏状态 0-未收藏 1-已收藏',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文章收藏表';
+
+-- ----------------------------
+-- Records of yj_article_collect
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_config
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_config`;
+CREATE TABLE `yj_config` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `type` varchar(30) DEFAULT NULL COMMENT '类型',
+ `name` varchar(60) NOT NULL DEFAULT '' COMMENT '名称',
+ `value` text COMMENT '值',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb4 COMMENT='配置表';
+
+-- ----------------------------
+-- Records of yj_config
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (1, 'tabbar', 'style', '{\"default_color\":\"#999999\",\"selected_color\":\"#4173ff\"}', 1694052124, 1694052124);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (2, 'storage', 'default', 'local', 1696991320, 1723111254);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (3, 'storage', 'aliyun', '{\"bucket\":\"likeadmin\",\"access_key\":\"****\",\"secret_key\":\"*****\",\"domain\":\"https:\\/\\/s.com\"}', 1696991320, 1707117207);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (4, 'storage', 'local', '[]', 1696995442, 1696995442);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (5, 'oa_setting', 'menu', '[{\"name\":\"菜单名称\",\"has_menu\":\"\",\"type\":\"miniprogram\",\"url\":\"https:\\/\\/www.1222.com\",\"appid\":\"11\",\"pagepath\":\"222\",\"sub_button\":[]}]', 1698224548, 1698224548);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (6, 'oa_setting', 'name', '1', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (7, 'oa_setting', 'original_id', '1', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (8, 'oa_setting', 'qr_code', '', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (9, 'oa_setting', 'app_id', '***', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (10, 'oa_setting', 'app_secret', '***', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (11, 'oa_setting', 'token', '***', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (12, 'oa_setting', 'encoding_aes_key', '***', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (13, 'oa_setting', 'encryption_type', '1', 1703144563, 1729927449);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (14, 'login', 'login_way', '[\"1\",\"2\"]', 1707105336, 1707105336);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (15, 'login', 'coerce_mobile', '0', 1707105336, 1710837840);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (16, 'login', 'login_agreement', '1', 1707105336, 1707105336);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (17, 'login', 'third_auth', '1', 1707105336, 1707105336);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (18, 'login', 'wechat_auth', '1', 1707105336, 1707105336);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (19, 'login', 'qq_auth', '0', 1707105336, 1707105336);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (20, 'mnp_setting', 'name', '', 1707106679, 1729865093);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (21, 'mnp_setting', 'original_id', '', 1707106679, 1729865093);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (22, 'mnp_setting', 'qr_code', '', 1707106679, 1729865093);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (23, 'mnp_setting', 'app_id', '***', 1707106679, 1729865093);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (24, 'mnp_setting', 'app_secret', '***', 1707106679, 1729865093);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (25, 'recharge', 'status', '1', 1707106705, 1707106705);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (26, 'recharge', 'min_amount', '0', 1707106705, 1707106705);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (27, 'storage', 'qiniu', '{\"bucket\":\"likeshopv2\",\"access_key\":\"***\",\"secret_key\":\"***\",\"domain\":\"https:\\/\\/qiniu.yixiangonline.com\"}', 1707116129, 1707116129);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (28, 'website', 'name', 'likeadmin开源', 1707275641, 1710468285);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (29, 'website', 'web_favicon', '/adminapi/static/web_favicon.ico', 1707275641, 1723774747);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (30, 'website', 'web_logo', '/adminapi/static/admin_logo.jpg', 1707275641, 1710930501);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (31, 'website', 'login_image', '/adminapi/static/login_image.png', 1707275641, 1707275641);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (32, 'website', 'shop_name', 'likeadmin', 1707275641, 1707275641);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (33, 'website', 'shop_logo', '/adminapi/static/shop_logo.png', 1707275641, 1707275641);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (34, 'website', 'pc_logo', '/adminapi/static/pc_logo.png', 1707275641, 1707275641);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (35, 'website', 'pc_title', '世界一流的后台框架', 1707275641, 1707275641);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (36, 'website', 'pc_ico', '/adminapi/static/pc_favicon.ico', 1707275641, 1723774632);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (37, 'website', 'pc_desc', 'likeadmin', 1707275641, 1710930247);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (38, 'website', 'pc_keywords', 'likeadmin', 1707275641, 1710930247);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (39, 'website', 'h5_favicon', '/adminapi/static/web_favicon.ico', 1707275641, 1723774667);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (40, 'agreement', 'service_title', '服务协议', 1707292881, 1707292881);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (41, 'agreement', 'service_content', '
服务协议:
一、微信小程序或APP或网站服务条款的确认和接纳本微信小程序或APP或网站(以下统称本站)的各项电子服务的所有权和运作权归本平台。本站提供的服务将完全按照其发布的服务条款和操作规则严格执行。用户同意所有服务条款并完成注册程序,才能成为本站的正式用户。用户确认:本协议条款是处理双方权利义务的约定,除非违反国家强制性法律,否则始终有效。在下订单的同时,您也同时承认了您拥有购买这些产品的权利能力和行为能力,并且将您对您在订单中提供的所有信息的真实性负责。
二、服务简介本站运用自己的操作系统通过国际互联网络为用户提供网络服务。同时,用户必须:(1)自行配备上网的所需设备,包括个人电脑、调制解调器或其它必备上网装置。(2)自行负担个人上网所支付的与此服务有关的电话费用、网络费用。基于本站所提供的网络服务的重要性,用户应同意(1)提供详尽、准确的个人资料。(2)不断更新注册资料,符合及时、详尽、准确的要求。本站保证不公开用户的真实姓名、地址、电子邮箱和联系电话等用户信息, 除以下情况外:(1)用户授权本站透露这些信息。(2)相应的法律及程序要求本站提供用户的个人资料。
三、价格和数量本站将尽最大努力保证您所购商品与网站上公布的价格一致。产品的价格和可获性都在本站上指明,这类信息将随时更改。您所订购的商品,如果发生缺货,您有权取消定单。
四、送货本站将会把产品送到您所指定的送货地址。所有在本站上列出的送货时间为参考时间,参考时间的计算是根据库存状况、正常的处理过程和送货时间、送货地点的基础上估计得出的。 请清楚准确地填写您的真实姓名、送货地址及联系方式。因如下情况造成订单延迟或无法配送等,本站将无法承担迟延配送的责任:(1)客户提供错误信息和不详细的地址;(2)货物送达无人签收,由此造成的重复配送所产生的费用及相关的后果。(3)不可抗力,例如:自然灾害、交通戒严、突发战争等。
五、服务条款的修改本站将可能不定期的修改本用户协议的有关条款,一旦条款及服务内容产生变动,本站将会在重要页面上提示修改内容。
六、用户隐私制度尊重用户个人隐私是本站的一项基本政策。所以,作为对以上第二条注册资料分析的补充,本站一定不会在未经合法用户授权时公开、编辑或透露其注册资料及保存在本站中的非公开内容。
七、用户的帐号,密码和安全性用户一旦注册成功,成为本站的合法用户,将得到一个密码和用户名。您可随时根据指示改变您的密码。用户需谨慎合理的保存、使用用户名和密码。用户若发现任何非法使用用户帐号或存在安全漏洞的情况,请立即通知本站和向公安机关报案。
八、对用户信息的存储和限制如果用户违背了国家法律法规规定或本协议约定,本站有视具体情形中止或终止对其提供网络服务的权利。
九、用户管理本协议依据国家相关法律法规规章制定,用户同意严格遵守以下条款:(1)从中国境内向外传输技术性资料时必须符合中国有关法规。(2) 不利用本站从事非法活动。(3)不干扰或混乱网络服务。(4)遵守所有使用网络服务的网络协议、规定、程序和惯例。用户须承诺不传输任何违法犯罪的、骚扰性的、中伤他人的、辱骂性的、恐吓性的、伤害性的、庸俗的,淫秽的、不文明的等信息资料;不传输损害国家社会公共利益和涉及国家安全的信息资料;不传输教唆他人从事本条所述行为的信息资料。未经许可而非法进入其它电脑系统是禁止的。若用户的行为不符合以上提到的服务条款,本站将作出独立判断立即取消用户服务帐号。用户需对自己在网上的行为承担法律责任。用户若在本站上散布和传播反动、色情或其它违反国家法律的信息,本站的系统记录有可能作为用户违反法律的证据。
十、通告所有发给用户的通告都可通过重要页面的公告或电子邮件或常规的信件传送。用户协议条款的修改、服务变更、或其它重要事件的通告都会以此形式进行。
十一、网络服务内容的所有权本站定义的网络服务内容包括:文字、软件、声音、图片、录象、图表、广告中的全部内容;电子邮件的全部内容;本站为用户提供的其它信息。所有这些内容受版权、商标、标签和其它财产所有权法律的保护。所以,用户只能在本站和广告商授权下才能使用这些内容,而不能擅自复制、再造这些内容、或创造与内容有关的派生产品。本站所有的文章版权归原文作者和本站共同所有,任何人需要转载本站的文章,必须征得原文作者和本站授权。
十二、责任限制如因不可抗力或其它本站无法控制的原因使本站销售系统崩溃或无法正常使用导致网上交易无法完成或丢失有关的信息、记录等本站会尽可能合理地协助处理善后事宜,并尽最大努力使客户免受损失。
十三、法律管辖和适用本协议的订立、执行和解释及争议的解决均应适用中国法律。如发生本站服务条款与中国法律相抵触时,则这些条款将完全按法律规定重新解释,而其它有效条款继续有效。如双方就本协议内容或其执行发生任何争议,双方应尽力友好协商解决;协商不成时,任何一方均可向人民法院提起诉讼。
', 1707292881, 1710726599);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (42, 'agreement', 'privacy_title', '隐私政策', 1707292881, 1707292881);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (43, 'agreement', 'privacy_content', '
隐私协议:
一、微信小程序或APP或网站服务条款的确认和接纳本微信小程序或APP或网站(以下统称本站)的各项电子服务的所有权和运作权归本平台。本站提供的服务将完全按照其发布的服务条款和操作规则严格执行。用户同意所有服务条款并完成注册程序,才能成为本站的正式用户。用户确认:本协议条款是处理双方权利义务的约定,除非违反国家强制性法律,否则始终有效。在下订单的同时,您也同时承认了您拥有购买这些产品的权利能力和行为能力,并且将您对您在订单中提供的所有信息的真实性负责。
二、服务简介本站运用自己的操作系统通过国际互联网络为用户提供网络服务。同时,用户必须:(1)自行配备上网的所需设备,包括个人电脑、调制解调器或其它必备上网装置。(2)自行负担个人上网所支付的与此服务有关的电话费用、网络费用。基于本站所提供的网络服务的重要性,用户应同意(1)提供详尽、准确的个人资料。(2)不断更新注册资料,符合及时、详尽、准确的要求。本站保证不公开用户的真实姓名、地址、电子邮箱和联系电话等用户信息, 除以下情况外:(1)用户授权本站透露这些信息。(2)相应的法律及程序要求本站提供用户的个人资料。
三、价格和数量本站将尽最大努力保证您所购商品与网站上公布的价格一致。产品的价格和可获性都在本站上指明,这类信息将随时更改。您所订购的商品,如果发生缺货,您有权取消定单。
四、送货本站将会把产品送到您所指定的送货地址。所有在本站上列出的送货时间为参考时间,参考时间的计算是根据库存状况、正常的处理过程和送货时间、送货地点的基础上估计得出的。 请清楚准确地填写您的真实姓名、送货地址及联系方式。因如下情况造成订单延迟或无法配送等,本站将无法承担迟延配送的责任:(1)客户提供错误信息和不详细的地址;(2)货物送达无人签收,由此造成的重复配送所产生的费用及相关的后果。(3)不可抗力,例如:自然灾害、交通戒严、突发战争等。
五、服务条款的修改本站将可能不定期的修改本用户协议的有关条款,一旦条款及服务内容产生变动,本站将会在重要页面上提示修改内容。
六、用户隐私制度尊重用户个人隐私是本站的一项基本政策。所以,作为对以上第二条注册资料分析的补充,本站一定不会在未经合法用户授权时公开、编辑或透露其注册资料及保存在本站中的非公开内容。
七、用户的帐号,密码和安全性用户一旦注册成功,成为本站的合法用户,将得到一个密码和用户名。您可随时根据指示改变您的密码。用户需谨慎合理的保存、使用用户名和密码。用户若发现任何非法使用用户帐号或存在安全漏洞的情况,请立即通知本站和向公安机关报案。
八、对用户信息的存储和限制如果用户违背了国家法律法规规定或本协议约定,本站有视具体情形中止或终止对其提供网络服务的权利。
九、用户管理本协议依据国家相关法律法规规章制定,用户同意严格遵守以下条款:(1)从中国境内向外传输技术性资料时必须符合中国有关法规。(2) 不利用本站从事非法活动。(3)不干扰或混乱网络服务。(4)遵守所有使用网络服务的网络协议、规定、程序和惯例。用户须承诺不传输任何违法犯罪的、骚扰性的、中伤他人的、辱骂性的、恐吓性的、伤害性的、庸俗的,淫秽的、不文明的等信息资料;不传输损害国家社会公共利益和涉及国家安全的信息资料;不传输教唆他人从事本条所述行为的信息资料。未经许可而非法进入其它电脑系统是禁止的。若用户的行为不符合以上提到的服务条款,本站将作出独立判断立即取消用户服务帐号。用户需对自己在网上的行为承担法律责任。用户若在本站上散布和传播反动、色情或其它违反国家法律的信息,本站的系统记录有可能作为用户违反法律的证据。
十、通告所有发给用户的通告都可通过重要页面的公告或电子邮件或常规的信件传送。用户协议条款的修改、服务变更、或其它重要事件的通告都会以此形式进行。
十一、网络服务内容的所有权本站定义的网络服务内容包括:文字、软件、声音、图片、录象、图表、广告中的全部内容;电子邮件的全部内容;本站为用户提供的其它信息。所有这些内容受版权、商标、标签和其它财产所有权法律的保护。所以,用户只能在本站和广告商授权下才能使用这些内容,而不能擅自复制、再造这些内容、或创造与内容有关的派生产品。本站所有的文章版权归原文作者和本站共同所有,任何人需要转载本站的文章,必须征得原文作者和本站授权。
十二、责任限制如因不可抗力或其它本站无法控制的原因使本站销售系统崩溃或无法正常使用导致网上交易无法完成或丢失有关的信息、记录等本站会尽可能合理地协助处理善后事宜,并尽最大努力使客户免受损失。
十三、法律管辖和适用本协议的订立、执行和解释及争议的解决均应适用中国法律。如发生本站服务条款与中国法律相抵触时,则这些条款将完全按法律规定重新解释,而其它有效条款继续有效。如双方就本协议内容或其执行发生任何争议,双方应尽力友好协商解决;协商不成时,任何一方均可向人民法院提起诉讼。
', 1707292881, 1710726599);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (44, 'default_image', 'user_avatar', '/adminapi/static/default_avatar.png', 1710141128, 1710141228);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (45, 'copyright', 'config', '[{\"key\":\"likeadmin开源后台\",\"value\":\"https:\\/\\/beian.miit.gov.cn\\/\"},{\"key\":\"likeshop开源电商\",\"value\":\"https:\\/\\/www.likeshop.cn\"}]', 1710471074, 1723715054);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (46, 'sms', 'tencent', '{\"name\":\"腾讯云短信\",\"type\":\"tencent\",\"sign\":\"1\",\"app_key\":\"\",\"app_id\":\"1\",\"secret_key\":\"1\",\"secret_id\":\"1\",\"status\":1}', 1710489820, 1731983329);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (47, 'sms', 'engine', 'tencent', 1710489825, 1731983329);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (48, 'sms', 'ali', '{\"name\":\"阿里云短信\",\"type\":\"ali\",\"sign\":\"***\",\"app_key\":\"**\",\"app_id\":\"\",\"secret_key\":\"***\",\"secret_id\":\"\",\"status\":1}', 1710489837, 1729343871);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (49, 'hot_search', 'status', '1', 1710817727, 1723169824);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (50, 'storage', 'qcloud', '{\"bucket\":\"***\",\"region\":\"ap-guangzhou\",\"access_key\":\"****\",\"secret_key\":\"*****\",\"domain\":\"https:\\/\\/xxx.com\"}', 1723111250, 1723111250);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (51, 'open_platform', 'app_id', '1', 1729527783, 1731983406);
+INSERT INTO `yj_config` (`id`, `type`, `name`, `value`, `create_time`, `update_time`) VALUES (52, 'open_platform', 'app_secret', '1', 1729527783, 1731983406);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_decorate_page
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_decorate_page`;
+CREATE TABLE `yj_decorate_page` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `type` tinyint(2) unsigned NOT NULL DEFAULT '10' COMMENT '页面类型 1=商城首页, 2=个人中心, 3=客服设置 4-PC首页',
+ `name` varchar(100) NOT NULL DEFAULT '' COMMENT '页面名称',
+ `data` text COMMENT '页面数据',
+ `meta` text COMMENT '页面设置',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='装修页面配置表';
+
+-- ----------------------------
+-- Records of yj_decorate_page
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_decorate_page` (`id`, `type`, `name`, `data`, `meta`, `create_time`, `update_time`) VALUES (1, 1, '首页装修', '[{\"title\":\"搜索\",\"name\":\"search\",\"disabled\":1,\"content\":{},\"styles\":{}},{\"title\":\"首页轮播图\",\"name\":\"banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/adminapi/static/banner001.png\",\"name\":\"\",\"link\":{\"id\":6,\"name\":\"来自瓷器的爱\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":6},\"type\":\"article\"},\"is_show\":\"1\",\"bg\":\"/adminapi/static/banner001_bg.png\"},{\"image\":\"/adminapi/static/banner002.png\",\"name\":\"\",\"link\":{\"id\":3,\"name\":\"金山电池公布“沪广深市民绿色生活方式”调查结果\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":3},\"type\":\"article\"},\"is_show\":\"1\",\"bg\":\"/adminapi/static/banner002_bg.png\"},{\"is_show\":\"1\",\"image\":\"/adminapi/static/banner003.png\",\"name\":\"\",\"link\":{\"id\":1,\"name\":\"让生活更精致!五款居家好物推荐,实用性超高\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":1},\"type\":\"article\"},\"bg\":\"/adminapi/static/banner003_bg.png\"}],\"style\":1,\"bg_style\":1},\"styles\":{}},{\"title\":\"导航菜单\",\"name\":\"nav\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/adminapi/static/nav01.png\",\"name\":\"资讯中心\",\"link\":{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\",\"canTab\":true},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/nav03.png\",\"name\":\"个人设置\",\"link\":{\"path\":\"/pages/user_set/user_set\",\"name\":\"个人设置\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/nav02.png\",\"name\":\"我的收藏\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/nav05.png\",\"name\":\"关于我们\",\"link\":{\"path\":\"/pages/as_us/as_us\",\"name\":\"关于我们\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/nav04.png\",\"name\":\"联系客服\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"}],\"style\":2,\"per_line\":5,\"show_line\":2},\"styles\":{}},{\"title\":\"首页中部轮播图\",\"name\":\"middle-banner\",\"content\":{\"enabled\":1,\"data\":[{\"is_show\":\"1\",\"image\":\"/adminapi/static/index_ad01.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/agreement/agreement\",\"name\":\"隐私政策\",\"query\":{\"type\":\"privacy\"},\"type\":\"shop\"}}]},\"styles\":{}},{\"id\":\"l84almsk2uhyf\",\"title\":\"资讯\",\"name\":\"news\",\"disabled\":1,\"content\":{},\"styles\":{}}]', '[{\"title\":\"页面设置\",\"name\":\"page-meta\",\"content\":{\"title\":\"首页\",\"bg_type\":\"1\",\"bg_color\":\"#2F80ED\",\"bg_image\":\"/adminapi/static/page_meta_bg01.png\",\"text_color\":\"1\",\"title_type\":\"1\",\"title_img\":\"/adminapi/static/page_mate_title.png\"},\"styles\":{}}]', 1661757188, 1731945113);
+INSERT INTO `yj_decorate_page` (`id`, `type`, `name`, `data`, `meta`, `create_time`, `update_time`) VALUES (2, 2, '个人中心', '[{\"title\":\"用户信息\",\"name\":\"user-info\",\"disabled\":1,\"content\":{},\"styles\":{}},{\"title\":\"我的服务\",\"name\":\"my-service\",\"content\":{\"style\":1,\"title\":\"我的服务\",\"data\":[{\"image\":\"/adminapi/static/user_collect.png\",\"name\":\"我的收藏\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/user_setting.png\",\"name\":\"个人设置\",\"link\":{\"path\":\"/pages/user_set/user_set\",\"name\":\"个人设置\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/user_kefu.png\",\"name\":\"联系客服\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/wallet.png\",\"name\":\"我的钱包\",\"link\":{\"path\":\"/packages/pages/user_wallet/user_wallet\",\"name\":\"我的钱包\",\"type\":\"shop\"},\"is_show\":\"1\"}],\"enabled\":1},\"styles\":{}},{\"title\":\"个人中心广告图\",\"name\":\"user-banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/adminapi/static/user_ad01.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/adminapi/static/user_ad02.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"}]},\"styles\":{}}]', '[{\"title\":\"页面设置\",\"name\":\"page-meta\",\"content\":{\"title\":\"个人中心\",\"bg_type\":\"1\",\"bg_color\":\"#2F80ED\",\"bg_image\":\"\",\"text_color\":\"1\",\"title_type\":\"1\",\"title_img\":\"/adminapi/static/page_mate_title.png\"},\"styles\":{}}]', 1661757188, 1731945117);
+INSERT INTO `yj_decorate_page` (`id`, `type`, `name`, `data`, `meta`, `create_time`, `update_time`) VALUES (3, 3, '客服设置', '[{\"title\":\"客服设置\",\"name\":\"customer-service\",\"content\":{\"title\":\"添加客服二维码\",\"time\":\"早上 9:30 - 19:00\",\"mobile\":\"18578768757\",\"qrcode\":\"api/static/kefu01.png\",\"remark\":\"长按添加客服或拨打客服热线\"},\"styles\":{}}]', '', 1661757188, 1710929953);
+INSERT INTO `yj_decorate_page` (`id`, `type`, `name`, `data`, `meta`, `create_time`, `update_time`) VALUES (4, 4, 'PC设置', '[{\"id\":\"lajcn8d0hzhed\",\"title\":\"首页轮播图\",\"name\":\"pc-banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/adminapi/static/banner03.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\"}},{\"image\":\"/adminapi/static/banner02.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"}},{\"image\":\"/adminapi/static/banner01.png\",\"name\":\"\",\"link\":{}}]},\"styles\":{\"position\":\"absolute\",\"left\":\"40\",\"top\":\"75px\",\"width\":\"750px\",\"height\":\"340px\"}}]', '', 1661757188, 1710990175);
+INSERT INTO `yj_decorate_page` (`id`, `type`, `name`, `data`, `meta`, `create_time`, `update_time`) VALUES (5, 5, '系统风格', '{\"themeColorId\":3,\"topTextColor\":\"white\",\"navigationBarColor\":\"#A74BFD\",\"themeColor1\":\"#A74BFD\",\"themeColor2\":\"#CB60FF\",\"buttonColor\":\"white\"}', '', 1710410915, 1710990415);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_decorate_tabbar
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_decorate_tabbar`;
+CREATE TABLE `yj_decorate_tabbar` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `name` varchar(20) NOT NULL DEFAULT '' COMMENT '导航名称',
+ `selected` varchar(200) NOT NULL DEFAULT '' COMMENT '未选图标',
+ `unselected` varchar(200) NOT NULL DEFAULT '' COMMENT '已选图标',
+ `link` varchar(200) DEFAULT NULL COMMENT '链接地址',
+ `is_show` tinyint(255) unsigned NOT NULL DEFAULT '1' COMMENT '显示状态',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='装修底部导航表';
+
+-- ----------------------------
+-- Records of yj_decorate_tabbar
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_decorate_tabbar` (`id`, `name`, `selected`, `unselected`, `link`, `is_show`, `create_time`, `update_time`) VALUES (1, '首页', '/adminapi/static/tabbar_home_sel.png', '/adminapi/static/tabbar_home.png', '{\"path\":\"/pages/index/index\",\"name\":\"商城首页\",\"type\":\"shop\"}', 1, 1662688157, 1662688157);
+INSERT INTO `yj_decorate_tabbar` (`id`, `name`, `selected`, `unselected`, `link`, `is_show`, `create_time`, `update_time`) VALUES (2, '资讯', '/adminapi/static/tabbar_text_sel.png', '/adminapi/static/tabbar_text.png', '{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\",\"canTab\":\"1\"}', 1, 1662688157, 1662688157);
+INSERT INTO `yj_decorate_tabbar` (`id`, `name`, `selected`, `unselected`, `link`, `is_show`, `create_time`, `update_time`) VALUES (3, '我的', '/adminapi/static/tabbar_me_sel.png', '/adminapi/static/tabbar_me.png', '{\"path\":\"/pages/user/user\",\"name\":\"个人中心\",\"type\":\"shop\",\"canTab\":\"1\"}', 1, 1662688157, 1662688157);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dept
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dept`;
+CREATE TABLE `yj_dept` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `name` varchar(30) NOT NULL DEFAULT '' COMMENT '部门名称',
+ `pid` bigint(20) NOT NULL DEFAULT '0' COMMENT '上级部门id',
+ `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
+ `leader` varchar(64) DEFAULT NULL COMMENT '负责人',
+ `mobile` varchar(16) DEFAULT NULL COMMENT '联系电话',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '部门状态(0停用 1正常)',
+ `create_time` int(10) NOT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '修改时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='部门表';
+
+-- ----------------------------
+-- Records of yj_dept
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_dept` (`id`, `name`, `pid`, `sort`, `leader`, `mobile`, `status`, `create_time`, `update_time`, `delete_time`) VALUES (1, '公司', 0, 0, 'boss', '12345698745', 1, 1650592684, 1653640368, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dev_crontab
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dev_crontab`;
+CREATE TABLE `yj_dev_crontab` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) NOT NULL COMMENT '定时任务名称',
+ `type` tinyint(1) NOT NULL COMMENT '类型 1-定时任务',
+ `system` tinyint(4) DEFAULT '0' COMMENT '是否系统任务 0-否 1-是',
+ `remark` varchar(255) DEFAULT '' COMMENT '备注',
+ `command` varchar(64) NOT NULL COMMENT '命令内容',
+ `params` varchar(64) DEFAULT '' COMMENT '参数',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态 1-运行 2-停止 3-错误',
+ `expression` varchar(64) NOT NULL COMMENT '运行规则',
+ `error` varchar(256) DEFAULT NULL COMMENT '运行失败原因',
+ `last_time` int(11) DEFAULT NULL COMMENT '最后执行时间',
+ `time` varchar(64) DEFAULT '0' COMMENT '实时执行时长',
+ `max_time` varchar(64) DEFAULT '0' COMMENT '最大执行时长',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='计划任务表';
+
+-- ----------------------------
+-- Records of yj_dev_crontab
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dev_pay_config
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dev_pay_config`;
+CREATE TABLE `yj_dev_pay_config` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) NOT NULL DEFAULT '' COMMENT '模版名称',
+ `pay_way` tinyint(1) NOT NULL COMMENT '支付方式:1-余额支付;2-微信支付;3-支付宝支付;',
+ `config` text COMMENT '对应支付配置(json字符串)',
+ `icon` varchar(255) DEFAULT NULL COMMENT '图标',
+ `sort` int(5) DEFAULT NULL COMMENT '排序',
+ `remark` varchar(255) DEFAULT NULL COMMENT '备注',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_dev_pay_config
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_dev_pay_config` (`id`, `name`, `pay_way`, `config`, `icon`, `sort`, `remark`) VALUES (1, '余额支付', 1, '', '/api/static/balance_pay.png', 128, '余额支付备注');
+INSERT INTO `yj_dev_pay_config` (`id`, `name`, `pay_way`, `config`, `icon`, `sort`, `remark`) VALUES (2, '微信支付', 2, '{\"interface_version\":\"v3\",\"merchant_type\":\"ordinary_merchant\",\"mch_id\":\"**\",\"pay_sign_key\":\"**\",\"apiclient_cert\":\"**\",\"apiclient_key\":\"**\"}', '/api/static/wechat_pay.png', 123, '微信支付备注');
+INSERT INTO `yj_dev_pay_config` (`id`, `name`, `pay_way`, `config`, `icon`, `sort`, `remark`) VALUES (3, '支付宝支付', 3, '{\"mode\":\"normal_mode\",\"merchant_type\":\"ordinary_merchant\",\"app_id\":\"**\",\"private_key\":\"**\",\"ali_public_key\":\"**\"}', '/api/static/ali_pay.png', 123, '支付宝支付');
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dev_pay_way
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dev_pay_way`;
+CREATE TABLE `yj_dev_pay_way` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `pay_config_id` int(11) NOT NULL COMMENT '支付配置ID',
+ `scene` tinyint(1) NOT NULL COMMENT '场景:1-微信小程序;2-微信公众号;3-H5;4-PC;5-APP;',
+ `is_default` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否默认支付:0-否;1-是;',
+ `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0-关闭;1-开启;',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_dev_pay_way
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (1, 1, 1, 0, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (2, 2, 1, 1, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (3, 1, 2, 0, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (4, 2, 2, 1, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (5, 1, 3, 0, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (6, 2, 3, 1, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (7, 3, 3, 0, 1);
+INSERT INTO `yj_dev_pay_way` (`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (8, 3, 2, 0, 1);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dict_data
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dict_data`;
+CREATE TABLE `yj_dict_data` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `name` varchar(255) NOT NULL COMMENT '数据名称',
+ `value` varchar(255) NOT NULL COMMENT '数据值',
+ `type_id` int(11) NOT NULL COMMENT '字典类型id',
+ `type_value` varchar(255) NOT NULL COMMENT '字典类型',
+ `sort` int(10) DEFAULT '0' COMMENT '排序值',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态 0-停用 1-正常',
+ `remark` varchar(255) DEFAULT '' COMMENT '备注',
+ `create_time` int(10) NOT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '修改时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COMMENT='字典数据表';
+
+-- ----------------------------
+-- Records of yj_dict_data
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (1, '隐藏', '0', 1, 'show_status', 0, 1, '', 1656381543, 1656381543, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (2, '显示', '1', 1, 'show_status', 0, 1, '', 1656381550, 1656381550, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (3, '进行中', '0', 2, 'business_status', 0, 1, '', 1656381410, 1656381410, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (4, '成功', '1', 2, 'business_status', 0, 1, '', 1656381437, 1656381437, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (5, '失败', '2', 2, 'business_status', 0, 1, '', 1656381449, 1656381449, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (6, '待处理', '0', 3, 'event_status', 0, 1, '', 1656381212, 1656381212, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (7, '已处理', '1', 3, 'event_status', 0, 1, '', 1656381315, 1656381315, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (8, '拒绝处理', '2', 3, 'event_status', 0, 1, '', 1656381331, 1656381331, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (9, '禁用', '1', 4, 'system_disable', 0, 1, '', 1656312030, 1656312030, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (10, '正常', '0', 4, 'system_disable', 0, 1, '', 1656312040, 1656312040, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (11, '未知', '0', 5, 'sex', 0, 1, '', 1656062988, 1656062988, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (12, '男', '1', 5, 'sex', 0, 1, '', 1656062999, 1656062999, NULL);
+INSERT INTO `yj_dict_data` (`id`, `name`, `value`, `type_id`, `type_value`, `sort`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (13, '女', '2', 5, 'sex', 0, 1, '', 1656063009, 1656063009, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_dict_type
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_dict_type`;
+CREATE TABLE `yj_dict_type` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `name` varchar(255) NOT NULL DEFAULT '' COMMENT '字典名称',
+ `type` varchar(255) NOT NULL DEFAULT '' COMMENT '字典类型名称',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态 0-停用 1-正常',
+ `remark` varchar(255) DEFAULT '' COMMENT '备注',
+ `create_time` int(10) NOT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '修改时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='字典类型表';
+
+-- ----------------------------
+-- Records of yj_dict_type
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_dict_type` (`id`, `name`, `type`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (1, '显示状态', 'show_status', 1, '', 1656381520, 1656381520, NULL);
+INSERT INTO `yj_dict_type` (`id`, `name`, `type`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (2, '业务状态', 'business_status', 1, '', 1656381393, 1656381393, NULL);
+INSERT INTO `yj_dict_type` (`id`, `name`, `type`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (3, '事件状态', 'event_status', 1, '', 1656381075, 1656381075, NULL);
+INSERT INTO `yj_dict_type` (`id`, `name`, `type`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (4, '禁用状态', 'system_disable', 1, '', 1656311838, 1656311838, NULL);
+INSERT INTO `yj_dict_type` (`id`, `name`, `type`, `status`, `remark`, `create_time`, `update_time`, `delete_time`) VALUES (5, '用户性别', 'sex', 1, '', 1656062946, 1656380925, NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_file
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_file`;
+CREATE TABLE `yj_file` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
+ `cid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '类目ID',
+ `source_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上传者id',
+ `source` tinyint(1) NOT NULL DEFAULT '0' COMMENT '来源类型[0-后台,1-用户]',
+ `type` tinyint(2) unsigned NOT NULL DEFAULT '10' COMMENT '类型[10=图片, 20=视频]',
+ `name` varchar(255) NOT NULL DEFAULT '' COMMENT '文件名称',
+ `uri` varchar(200) NOT NULL COMMENT '文件路径',
+ `create_time` int(10) unsigned DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文件表';
+
+-- ----------------------------
+-- Records of yj_file
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_file_cate
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_file_cate`;
+CREATE TABLE `yj_file_cate` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
+ `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '父级ID',
+ `type` tinyint(2) unsigned NOT NULL DEFAULT '10' COMMENT '类型[10=图片,20=视频,30=文件]',
+ `name` varchar(32) NOT NULL DEFAULT '' COMMENT '分类名称',
+ `create_time` int(10) unsigned DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) unsigned DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) unsigned DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文件分类表';
+
+-- ----------------------------
+-- Records of yj_file_cate
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_gen_table
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_gen_table`;
+CREATE TABLE `yj_gen_table` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `table_name` varchar(200) NOT NULL DEFAULT '' COMMENT '表名称',
+ `table_comment` varchar(200) NOT NULL DEFAULT '' COMMENT '表描述',
+ `sub_table_name` varchar(200) NOT NULL DEFAULT '' COMMENT '关联表名称',
+ `sub_table_fk` varchar(200) NOT NULL DEFAULT '' COMMENT '关联表外键',
+ `sub_table_fr` varchar(200) NOT NULL DEFAULT '' COMMENT '关联表主键',
+ `author_name` varchar(100) NOT NULL DEFAULT '' COMMENT '作者的名称',
+ `entity_name` varchar(100) NOT NULL DEFAULT '' COMMENT '实体的名称',
+ `module_name` varchar(60) NOT NULL DEFAULT '' COMMENT '生成模块名',
+ `function_name` varchar(60) NOT NULL DEFAULT '' COMMENT '生成功能名',
+ `tree_primary` varchar(60) NOT NULL DEFAULT '' COMMENT '树主键字段',
+ `tree_parent` varchar(60) NOT NULL DEFAULT '' COMMENT '树父级字段',
+ `tree_name` varchar(60) NOT NULL DEFAULT '' COMMENT '树显示字段',
+ `gen_tpl` varchar(20) NOT NULL DEFAULT 'crud' COMMENT '生成模板方式: [crud=单表, tree=树表]',
+ `gen_type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '生成代码方式: [0=zip压缩包, 1=自定义路径]',
+ `gen_path` varchar(200) NOT NULL DEFAULT '/' COMMENT '生成代码路径: [不填默认项目路径]',
+ `menu_status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '菜单状态: [1=自动构建, 2=手动添加]',
+ `menu_pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '菜单父级',
+ `menu_name` varchar(100) NOT NULL DEFAULT '' COMMENT '菜单名称',
+ `remarks` varchar(200) NOT NULL DEFAULT '' COMMENT '备注信息',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='代码生成业务表';
+
+-- ----------------------------
+-- Records of yj_gen_table
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_gen_table_column
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_gen_table_column`;
+CREATE TABLE `yj_gen_table_column` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '列主键',
+ `table_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '表外键',
+ `column_name` varchar(200) NOT NULL DEFAULT '' COMMENT '列名称',
+ `column_comment` varchar(200) NOT NULL DEFAULT '' COMMENT '列描述',
+ `column_length` varchar(5) DEFAULT '0' COMMENT '列长度',
+ `column_type` varchar(100) NOT NULL DEFAULT '' COMMENT '列类型 ',
+ `java_type` varchar(100) NOT NULL DEFAULT '' COMMENT 'JAVA类型',
+ `java_field` varchar(100) NOT NULL DEFAULT '' COMMENT 'JAVA字段',
+ `is_pk` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否主键: [1=是, 0=否]',
+ `is_increment` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否自增: [1=是, 0=否]',
+ `is_required` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否必填: [1=是, 0=否]',
+ `is_insert` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否插入字段: [1=是, 0=否]',
+ `is_edit` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否编辑字段: [1=是, 0=否]',
+ `is_list` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否列表字段: [1=是, 0=否]',
+ `is_query` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否查询字段: [1=是, 0=否]',
+ `query_type` varchar(30) NOT NULL DEFAULT 'EQ' COMMENT '查询方式: [等于、不等于、大于、小于、范围]',
+ `html_type` varchar(30) NOT NULL DEFAULT '' COMMENT '显示类型: [文本框、文本域、下拉框、复选框、单选框、日期控件]',
+ `dict_type` varchar(200) NOT NULL DEFAULT '' COMMENT '字典类型',
+ `sort` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序编号',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='代码生成字段表';
+
+-- ----------------------------
+-- Records of yj_gen_table_column
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_hot_search
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_hot_search`;
+CREATE TABLE `yj_hot_search` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `name` varchar(200) NOT NULL DEFAULT '' COMMENT '关键词',
+ `sort` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序号',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='热门搜索表';
+
+-- ----------------------------
+-- Records of yj_hot_search
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_jobs
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_jobs`;
+CREATE TABLE `yj_jobs` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `name` varchar(50) NOT NULL COMMENT '岗位名称',
+ `code` varchar(64) NOT NULL COMMENT '岗位编码',
+ `sort` int(11) DEFAULT '0' COMMENT '显示顺序',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态(0停用 1正常)',
+ `remark` varchar(500) DEFAULT NULL COMMENT '备注',
+ `create_time` int(10) NOT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '修改时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='岗位表';
+
+-- ----------------------------
+-- Records of yj_jobs
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_notice_record
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_notice_record`;
+CREATE TABLE `yj_notice_record` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `user_id` int(10) unsigned NOT NULL COMMENT '用户id',
+ `title` varchar(50) NOT NULL DEFAULT '' COMMENT '标题',
+ `content` text NOT NULL COMMENT '内容',
+ `scene_id` int(10) unsigned DEFAULT '0' COMMENT '场景',
+ `read` tinyint(1) DEFAULT '0' COMMENT '已读状态;0-未读,1-已读',
+ `recipient` tinyint(1) DEFAULT '0' COMMENT '通知接收对象类型;1-会员;2-商家;3-平台;4-游客(未注册用户)',
+ `send_type` tinyint(1) DEFAULT '0' COMMENT '通知发送类型 1-系统通知 2-短信通知 3-微信模板 4-微信小程序',
+ `notice_type` tinyint(1) DEFAULT NULL COMMENT '通知类型 1-业务通知 2-验证码',
+ `extra` varchar(255) DEFAULT '' COMMENT '其他',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通知记录表';
+
+-- ----------------------------
+-- Records of yj_notice_record
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_notice_setting
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_notice_setting`;
+CREATE TABLE `yj_notice_setting` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `scene_id` int(10) NOT NULL COMMENT '场景id',
+ `scene_name` varchar(255) NOT NULL DEFAULT '' COMMENT '场景名称',
+ `scene_desc` varchar(255) NOT NULL DEFAULT '' COMMENT '场景描述',
+ `recipient` tinyint(1) NOT NULL DEFAULT '1' COMMENT '接收者 1-用户 2-平台',
+ `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '通知类型: 1-业务通知 2-验证码',
+ `system_notice` text COMMENT '系统通知设置',
+ `sms_notice` text COMMENT '短信通知设置',
+ `oa_notice` text COMMENT '公众号通知设置',
+ `mnp_notice` text COMMENT '小程序通知设置',
+ `support` char(10) NOT NULL DEFAULT '' COMMENT '支持的发送类型 1-系统通知 2-短信通知 3-微信模板消息 4-小程序提醒',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='通知设置表';
+
+-- ----------------------------
+-- Records of yj_notice_setting
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_notice_setting` (`id`, `scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (1, 101, '登录验证码', '用户手机号码登录时发送', 1, 2, '{\"type\":\"system\",\"title\":\"\",\"content\":\"\",\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\"]}', '{\"type\":\"sms\",\"template_id\":\"SMS_123456\",\"content\":\"您正在登录,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。\",\"status\":\"1\",\"is_show\":\"1\"}', '{\"type\":\"oa\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"first\":\"\",\"remark\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '{\"type\":\"mnp\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '2', NULL);
+INSERT INTO `yj_notice_setting` (`id`, `scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (2, 102, '绑定手机验证码', '用户绑定手机号码时发送', 1, 2, '{\"type\":\"system\",\"title\":\"\",\"content\":\"\",\"status\":\"0\",\"is_show\":\"\"}', '{\"type\":\"sms\",\"template_id\":\"SMS_123456\",\"content\":\"您正在绑定手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。\",\"status\":\"1\",\"is_show\":\"1\"}', '{\"type\":\"oa\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"first\":\"\",\"remark\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\"}', '{\"type\":\"mnp\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\"}', '2', NULL);
+INSERT INTO `yj_notice_setting` (`id`, `scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (3, 103, '变更手机验证码', '用户变更手机号码时发送', 1, 2, '{\"type\":\"system\",\"title\":\"\",\"content\":\"\",\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\"]}', '{\"type\":\"sms\",\"template_id\":\"SMS_123456\",\"content\":\"您正在变更手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。\",\"status\":\"1\",\"is_show\":\"1\"}', '{\"type\":\"oa\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"first\":\"\",\"remark\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '{\"type\":\"mnp\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '2', NULL);
+INSERT INTO `yj_notice_setting` (`id`, `scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (4, 104, '找回登录密码验证码', '用户找回登录密码号码时发送', 1, 2, '{\"type\":\"system\",\"title\":\"\",\"content\":\"\",\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\"]}', '{\"type\":\"sms\",\"template_id\":\"SMS_123456\",\"content\":\"您正在找回登录密码,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。\",\"status\":\"1\",\"is_show\":\"1\"}', '{\"type\":\"oa\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"first\":\"\",\"remark\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '{\"type\":\"mnp\",\"template_id\":\"\",\"template_sn\":\"\",\"name\":\"\",\"tpl\":[],\"status\":\"0\",\"is_show\":\"\",\"tips\":[\"可选变量 验证码:code\",\"配置路径:小程序后台 > 功能 > 订阅消息\"]}', '2', NULL);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_official_account_reply
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_official_account_reply`;
+CREATE TABLE `yj_official_account_reply` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `name` varchar(64) NOT NULL DEFAULT '' COMMENT '规则名称',
+ `keyword` varchar(64) NOT NULL DEFAULT '' COMMENT '关键词',
+ `reply_type` tinyint(1) NOT NULL COMMENT '回复类型 1-关注回复 2-关键字回复 3-默认回复',
+ `matching_type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '匹配方式:1-全匹配;2-模糊匹配',
+ `content_type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '内容类型:1-文本',
+ `content` text NOT NULL COMMENT '回复内容',
+ `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '启动状态:1-启动;0-关闭',
+ `sort` int(11) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='公众号消息回调表';
+
+-- ----------------------------
+-- Records of yj_official_account_reply
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_operation_log
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_operation_log`;
+CREATE TABLE `yj_operation_log` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `admin_id` int(11) NOT NULL COMMENT '管理员ID',
+ `admin_name` varchar(16) NOT NULL DEFAULT '' COMMENT '管理员名称',
+ `account` varchar(16) NOT NULL DEFAULT '' COMMENT '管理员账号',
+ `action` varchar(64) DEFAULT '' COMMENT '操作名称',
+ `type` varchar(8) NOT NULL COMMENT '请求方式',
+ `url` varchar(600) NOT NULL COMMENT '访问链接',
+ `params` text COMMENT '请求数据',
+ `result` text COMMENT '请求结果',
+ `ip` varchar(39) NOT NULL DEFAULT '' COMMENT 'ip地址',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='系统日志表';
+
+-- ----------------------------
+-- Records of yj_operation_log
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (1, 1, 'admin', '', '页面装修保存', 'POST', '/adminapi/decorate.page/save', '[{\"data\":\"[{\\\"title\\\":\\\"搜索\\\",\\\"name\\\":\\\"search\\\",\\\"disabled\\\":1,\\\"content\\\":{},\\\"styles\\\":{}},{\\\"title\\\":\\\"首页轮播图\\\",\\\"name\\\":\\\"banner\\\",\\\"content\\\":{\\\"enabled\\\":1,\\\"data\\\":[{\\\"image\\\":\\\"/api/static/banner001.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"id\\\":6,\\\"name\\\":\\\"来自瓷器的爱\\\",\\\"path\\\":\\\"/pages/news_detail/news_detail\\\",\\\"query\\\":{\\\"id\\\":6},\\\"type\\\":\\\"article\\\"},\\\"is_show\\\":\\\"1\\\",\\\"bg\\\":\\\"api/static/banner001_bg.png\\\"},{\\\"image\\\":\\\"/api/static/banner002.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"id\\\":3,\\\"name\\\":\\\"金山电池公布“沪广深市民绿色生活方式”调查结果\\\",\\\"path\\\":\\\"/pages/news_detail/news_detail\\\",\\\"query\\\":{\\\"id\\\":3},\\\"type\\\":\\\"article\\\"},\\\"is_show\\\":\\\"1\\\",\\\"bg\\\":\\\"/api/static/banner002_bg.png\\\"},{\\\"is_show\\\":\\\"1\\\",\\\"image\\\":\\\"/api/static/banner003.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"id\\\":1,\\\"name\\\":\\\"让生活更精致!五款居家好物推荐,实用性超高\\\",\\\"path\\\":\\\"/pages/news_detail/news_detail\\\",\\\"query\\\":{\\\"id\\\":1},\\\"type\\\":\\\"article\\\"},\\\"bg\\\":\\\"/api/static/banner003_bg.png\\\"}],\\\"style\\\":1,\\\"bg_style\\\":1},\\\"styles\\\":{}},{\\\"title\\\":\\\"导航菜单\\\",\\\"name\\\":\\\"nav\\\",\\\"content\\\":{\\\"enabled\\\":1,\\\"data\\\":[{\\\"image\\\":\\\"/api/static/nav01.png\\\",\\\"name\\\":\\\"资讯中心\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/news/news\\\",\\\"name\\\":\\\"文章资讯\\\",\\\"type\\\":\\\"shop\\\",\\\"canTab\\\":true},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/nav03.png\\\",\\\"name\\\":\\\"个人设置\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/user_set/user_set\\\",\\\"name\\\":\\\"个人设置\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/nav02.png\\\",\\\"name\\\":\\\"我的收藏\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/collection/collection\\\",\\\"name\\\":\\\"我的收藏\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/nav05.png\\\",\\\"name\\\":\\\"关于我们\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/as_us/as_us\\\",\\\"name\\\":\\\"关于我们\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/nav04.png\\\",\\\"name\\\":\\\"联系客服\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/customer_service/customer_service\\\",\\\"name\\\":\\\"联系客服\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"}],\\\"style\\\":2,\\\"per_line\\\":5,\\\"show_line\\\":2},\\\"styles\\\":{}},{\\\"title\\\":\\\"首页中部轮播图\\\",\\\"name\\\":\\\"middle-banner\\\",\\\"content\\\":{\\\"enabled\\\":1,\\\"data\\\":[{\\\"is_show\\\":\\\"1\\\",\\\"image\\\":\\\"/api/static/index_ad01.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/agreement/agreement\\\",\\\"name\\\":\\\"隐私政策\\\",\\\"query\\\":{\\\"type\\\":\\\"privacy\\\"},\\\"type\\\":\\\"shop\\\"}}]},\\\"styles\\\":{}},{\\\"id\\\":\\\"l84almsk2uhyf\\\",\\\"title\\\":\\\"资讯\\\",\\\"name\\\":\\\"news\\\",\\\"disabled\\\":1,\\\"content\\\":{},\\\"styles\\\":{}}]\",\"id\":1,\"meta\":\"[{\\\"title\\\":\\\"页面设置\\\",\\\"name\\\":\\\"page-meta\\\",\\\"content\\\":{\\\"title\\\":\\\"首页\\\",\\\"bg_type\\\":\\\"1\\\",\\\"bg_color\\\":\\\"#2F80ED\\\",\\\"bg_image\\\":\\\"/api/static/page_meta_bg01.png\\\",\\\"text_color\\\":\\\"1\\\",\\\"title_type\\\":\\\"1\\\",\\\"title_img\\\":\\\"/api/static/page_mate_title.png\\\"},\\\"styles\\\":{}}]\",\"name\":\"首页装修\",\"type\":1}]', '', '127.0.0.1', 1731945113);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (2, 1, 'admin', '', '页面装修保存', 'POST', '/adminapi/decorate.page/save', '[{\"data\":\"[{\\\"title\\\":\\\"用户信息\\\",\\\"name\\\":\\\"user-info\\\",\\\"disabled\\\":1,\\\"content\\\":{},\\\"styles\\\":{}},{\\\"title\\\":\\\"我的服务\\\",\\\"name\\\":\\\"my-service\\\",\\\"content\\\":{\\\"style\\\":1,\\\"title\\\":\\\"我的服务\\\",\\\"data\\\":[{\\\"image\\\":\\\"/api/static/user_collect.png\\\",\\\"name\\\":\\\"我的收藏\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/collection/collection\\\",\\\"name\\\":\\\"我的收藏\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/user_setting.png\\\",\\\"name\\\":\\\"个人设置\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/user_set/user_set\\\",\\\"name\\\":\\\"个人设置\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/user_kefu.png\\\",\\\"name\\\":\\\"联系客服\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/customer_service/customer_service\\\",\\\"name\\\":\\\"联系客服\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/wallet.png\\\",\\\"name\\\":\\\"我的钱包\\\",\\\"link\\\":{\\\"path\\\":\\\"/packages/pages/user_wallet/user_wallet\\\",\\\"name\\\":\\\"我的钱包\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"}],\\\"enabled\\\":1},\\\"styles\\\":{}},{\\\"title\\\":\\\"个人中心广告图\\\",\\\"name\\\":\\\"user-banner\\\",\\\"content\\\":{\\\"enabled\\\":1,\\\"data\\\":[{\\\"image\\\":\\\"api/static/user_ad01.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/customer_service/customer_service\\\",\\\"name\\\":\\\"联系客服\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"},{\\\"image\\\":\\\"/api/static/user_ad02.png\\\",\\\"name\\\":\\\"\\\",\\\"link\\\":{\\\"path\\\":\\\"/pages/customer_service/customer_service\\\",\\\"name\\\":\\\"联系客服\\\",\\\"type\\\":\\\"shop\\\"},\\\"is_show\\\":\\\"1\\\"}]},\\\"styles\\\":{}}]\",\"id\":2,\"meta\":\"[{\\\"title\\\":\\\"页面设置\\\",\\\"name\\\":\\\"page-meta\\\",\\\"content\\\":{\\\"title\\\":\\\"个人中心\\\",\\\"bg_type\\\":\\\"1\\\",\\\"bg_color\\\":\\\"#2F80ED\\\",\\\"bg_image\\\":\\\"\\\",\\\"text_color\\\":\\\"1\\\",\\\"title_type\\\":\\\"1\\\",\\\"title_img\\\":\\\"/api/static/page_mate_title.png\\\"},\\\"styles\\\":{}}]\",\"name\":\"个人中心\",\"type\":2}]', '', '127.0.0.1', 1731945117);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (3, 1, 'admin', '', '清除系统缓存', 'POST', '/adminapi/setting.system.cache/clear', '', '', '127.0.0.1', 1731946243);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (4, 1, 'admin', '', '短信引擎编辑', 'POST', '/adminapi/notice.sms_config/setConfig', '[{\"name\":\"腾讯云短信\",\"type\":\"tencent\",\"sign\":\"广州好象科技\",\"app_key\":\"\",\"app_id\":\"1\",\"secret_key\":\"1\",\"secret_id\":\"1\",\"status\":1}]', '', '127.0.0.1', 1731983325);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (5, 1, 'admin', '', '短信引擎编辑', 'POST', '/adminapi/notice.sms_config/setConfig', '[{\"name\":\"腾讯云短信\",\"type\":\"tencent\",\"sign\":\"1\",\"app_key\":\"\",\"app_id\":\"1\",\"secret_key\":\"1\",\"secret_id\":\"1\",\"status\":1}]', '', '127.0.0.1', 1731983329);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (6, 1, 'admin', '', '角色列表', 'GET', '/adminapi/auth.role/lists', 'page_no=1&page_size=15', '', '127.0.0.1', 1731983424);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (7, 1, 'admin', '', '服务监控', 'GET', '/adminapi/setting.system.system/info', '', '', '127.0.0.1', 1731983489);
+INSERT INTO `yj_operation_log` (`id`, `admin_id`, `admin_name`, `account`, `action`, `type`, `url`, `params`, `result`, `ip`, `create_time`) VALUES (8, 1, 'admin', '', '角色列表', 'GET', '/adminapi/auth.role/lists', 'page_no=1&page_size=15', '', '127.0.0.1', 1731986667);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_recharge_order
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_recharge_order`;
+CREATE TABLE `yj_recharge_order` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `sn` varchar(64) NOT NULL COMMENT '订单编号',
+ `user_id` int(11) NOT NULL COMMENT '用户id',
+ `pay_sn` varchar(255) DEFAULT '' COMMENT '支付编号-冗余字段,针对微信同一主体不同客户端支付需用不同订单号预留。',
+ `pay_way` tinyint(2) NOT NULL DEFAULT '2' COMMENT '支付方式 2-微信支付 3-支付宝支付',
+ `pay_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '支付状态:0-待支付;1-已支付',
+ `pay_time` int(10) DEFAULT NULL COMMENT '支付时间',
+ `order_amount` decimal(10,2) NOT NULL COMMENT '充值金额',
+ `order_terminal` tinyint(1) DEFAULT '1' COMMENT '终端',
+ `transaction_id` varchar(128) DEFAULT NULL COMMENT '第三方平台交易流水号',
+ `refund_status` tinyint(1) DEFAULT '0' COMMENT '退款状态 0-未退款 1-已退款',
+ `refund_transaction_id` varchar(255) DEFAULT NULL COMMENT '退款交易流水号',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_recharge_order
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_refund_log
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_refund_log`;
+CREATE TABLE `yj_refund_log` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `sn` varchar(32) DEFAULT NULL COMMENT '编号',
+ `record_id` int(11) NOT NULL COMMENT '退款记录id',
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联用户',
+ `handle_id` int(11) NOT NULL DEFAULT '0' COMMENT '处理人id(管理员id)',
+ `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总的应付款金额,冗余字段',
+ `refund_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '本次退款金额',
+ `refund_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '退款状态,0退款中,1退款成功,2退款失败',
+ `refund_msg` text COMMENT '退款信息',
+ `create_time` int(10) unsigned DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_refund_log
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_refund_record
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_refund_record`;
+CREATE TABLE `yj_refund_record` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `sn` varchar(32) NOT NULL DEFAULT '' COMMENT '退款编号',
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联用户',
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '来源订单id',
+ `order_sn` varchar(32) NOT NULL COMMENT '来源单号',
+ `order_type` varchar(255) DEFAULT 'order' COMMENT '订单来源 order-商品订单 recharge-充值订单',
+ `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总的应付款金额,冗余字段',
+ `refund_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '本次退款金额',
+ `transaction_id` varchar(255) DEFAULT NULL COMMENT '第三方平台交易流水号',
+ `refund_way` tinyint(1) NOT NULL DEFAULT '1' COMMENT '退款方式 1-线上退款 2-线下退款',
+ `refund_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '退款类型 1-后台退款',
+ `refund_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '退款状态,0退款中,1退款成功,2退款失败',
+ `create_time` int(10) unsigned DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_refund_record
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_sms_log
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_sms_log`;
+CREATE TABLE `yj_sms_log` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `scene_id` int(11) NOT NULL COMMENT '场景id',
+ `mobile` varchar(11) NOT NULL COMMENT '手机号码',
+ `content` varchar(255) NOT NULL COMMENT '发送内容',
+ `code` varchar(32) DEFAULT NULL COMMENT '发送关键字(注册、找回密码)',
+ `is_verify` tinyint(1) DEFAULT '0' COMMENT '是否已验证;0-否;1-是',
+ `check_num` int(5) DEFAULT '0' COMMENT '验证次数',
+ `send_status` tinyint(1) NOT NULL COMMENT '发送状态:0-发送中;1-发送成功;2-发送失败',
+ `send_time` int(10) NOT NULL COMMENT '发送时间',
+ `results` text COMMENT '短信结果',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='短信记录表';
+
+-- ----------------------------
+-- Records of yj_sms_log
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_system_log_operate
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_system_log_operate`;
+CREATE TABLE `yj_system_log_operate` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `admin_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '操作人ID',
+ `type` varchar(30) NOT NULL DEFAULT '' COMMENT '请求类型: GET/POST/PUT',
+ `title` varchar(30) DEFAULT '' COMMENT '操作标题',
+ `ip` varchar(39) NOT NULL DEFAULT '' COMMENT '请求IP',
+ `url` varchar(200) NOT NULL DEFAULT '' COMMENT '请求接口',
+ `method` varchar(200) NOT NULL DEFAULT '' COMMENT '请求方法',
+ `args` text COMMENT '请求参数',
+ `error` text COMMENT '错误信息',
+ `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '执行状态: 1=成功, 2=失败',
+ `start_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '开始时间',
+ `end_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '结束时间',
+ `task_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '执行耗时',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='系统操作日志表';
+
+-- ----------------------------
+-- Records of yj_system_log_operate
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_system_menu
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_system_menu`;
+CREATE TABLE `yj_system_menu` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级菜单',
+ `type` char(2) NOT NULL DEFAULT '' COMMENT '权限类型: M=目录,C=菜单,A=按钮',
+ `name` varchar(100) NOT NULL DEFAULT '' COMMENT '菜单名称',
+ `icon` varchar(100) NOT NULL DEFAULT '' COMMENT '菜单图标',
+ `sort` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '菜单排序',
+ `perms` varchar(100) NOT NULL DEFAULT '' COMMENT '权限标识',
+ `paths` varchar(100) NOT NULL DEFAULT '' COMMENT '路由地址',
+ `component` varchar(200) NOT NULL DEFAULT '' COMMENT '前端组件',
+ `selected` varchar(200) NOT NULL DEFAULT '' COMMENT '选中路径',
+ `params` varchar(200) NOT NULL DEFAULT '' COMMENT '路由参数',
+ `is_cache` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否缓存: 0=否, 1=是',
+ `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示: 0=否, 1=是',
+ `is_disable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否禁用: 0=否, 1=是',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=193 DEFAULT CHARSET=utf8mb4 COMMENT='系统菜单表';
+
+-- ----------------------------
+-- Records of yj_system_menu
+-- ----------------------------
+BEGIN;
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (4, 0, 'M', '权限管理', 'el-icon-Lock', 300, '', 'permission', '', '', '', 0, 1, 0, 1656664556, 1710472802);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (5, 0, 'C', '工作台', 'el-icon-Monitor', 1000, 'workbench/index', 'workbench', 'workbench/index', '', '', 1, 1, 0, 1656664793, 1664354981);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (6, 4, 'C', '菜单', 'el-icon-Operation', 100, 'auth.menu/lists', 'menu', 'permission/menu/index', '', '', 1, 1, 0, 1656664960, 1710472994);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (7, 4, 'C', '管理员', 'local-icon-shouyiren', 80, 'auth.admin/lists', 'admin', 'permission/admin/index', '', '', 1, 1, 0, 1656901567, 1710473013);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (8, 4, 'C', '角色', 'el-icon-Female', 90, 'auth.role/lists', 'role', 'permission/role/index', '', '', 1, 1, 0, 1656901660, 1710473000);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (12, 8, 'A', '新增', '', 1, 'auth.role/add', '', '', '', '', 0, 1, 0, 1657001790, 1663750625);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (14, 8, 'A', '编辑', '', 1, 'auth.role/edit', '', '', '', '', 0, 1, 0, 1657001924, 1663750631);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (15, 8, 'A', '删除', '', 1, 'auth.role/delete', '', '', '', '', 0, 1, 0, 1657001982, 1663750637);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (16, 6, 'A', '新增', '', 1, 'auth.menu/add', '', '', '', '', 0, 1, 0, 1657072523, 1663750565);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (17, 6, 'A', '编辑', '', 1, 'auth.menu/edit', '', '', '', '', 0, 1, 0, 1657073955, 1663750570);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (18, 6, 'A', '删除', '', 1, 'auth.menu/delete', '', '', '', '', 0, 1, 0, 1657073987, 1663750578);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (19, 7, 'A', '新增', '', 1, 'auth.admin/add', '', '', '', '', 0, 1, 0, 1657074035, 1663750596);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (20, 7, 'A', '编辑', '', 1, 'auth.admin/edit', '', '', '', '', 0, 1, 0, 1657074071, 1663750603);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (21, 7, 'A', '删除', '', 1, 'auth.admin/delete', '', '', '', '', 0, 1, 0, 1657074108, 1663750609);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (23, 28, 'M', '开发工具', 'el-icon-EditPen', 40, '', 'dev_tools', '', '', '', 0, 1, 0, 1657097744, 1710473127);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (24, 23, 'C', '代码生成器', 'el-icon-DocumentAdd', 1, 'gen/list', 'code', 'dev_tools/code/index', '', '', 1, 1, 0, 1657098110, 1731743267);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (25, 0, 'M', '组织管理', 'el-icon-OfficeBuilding', 400, '', 'organization', '', '', '', 0, 1, 0, 1657099914, 1710472797);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (26, 25, 'C', '部门管理', 'el-icon-Coordinate', 100, 'dept.dept/lists', 'department', 'organization/department/index', '', '', 1, 1, 0, 1657099989, 1710472962);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (27, 25, 'C', '岗位管理', 'el-icon-PriceTag', 90, 'dept.jobs/lists', 'post', 'organization/post/index', '', '', 1, 1, 0, 1657100044, 1710472967);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (28, 0, 'M', '系统设置', 'el-icon-Setting', 200, '', 'setting', '', '', '', 0, 1, 0, 1657100164, 1710472807);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (29, 28, 'M', '网站设置', 'el-icon-Basketball', 100, '', 'website', '', '', '', 0, 1, 0, 1657100230, 1710473049);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (30, 29, 'C', '网站信息', '', 1, 'setting.web.web_setting/getWebsite', 'information', 'setting/website/information', '', '', 1, 1, 0, 1657100306, 1657164412);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (31, 29, 'C', '网站备案', '', 1, 'setting.web.web_setting/getCopyright', 'filing', 'setting/website/filing', '', '', 1, 1, 0, 1657100434, 1657164723);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (32, 29, 'C', '政策协议', '', 1, 'setting.web.web_setting/getAgreement', 'protocol', 'setting/website/protocol', '', '', 1, 1, 0, 1657100571, 1657164770);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (33, 28, 'C', '存储设置', 'el-icon-FolderOpened', 70, 'setting.storage/lists', 'storage', 'setting/storage/index', '', '', 1, 1, 0, 1657160959, 1710473095);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (34, 23, 'C', '字典管理', 'el-icon-Box', 1, 'setting.dict.dict_type/lists', 'dict', 'setting/dict/type/index', '', '', 1, 1, 0, 1657161211, 1663225935);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (35, 28, 'M', '系统维护', 'el-icon-SetUp', 50, '', 'system', '', '', '', 0, 1, 0, 1657161569, 1710473122);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (36, 35, 'C', '系统日志', '', 90, 'setting.system.log/lists', 'journal', 'setting/system/journal', '', '', 1, 1, 0, 1657161696, 1710473253);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (37, 35, 'C', '系统缓存', '', 80, '', 'cache', 'setting/system/cache', '', '', 1, 1, 0, 1657161896, 1710473258);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (38, 35, 'C', '系统环境', '', 70, 'setting.system.system/info', 'environment', 'setting/system/environment', '', '', 1, 1, 0, 1657162000, 1710473265);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (39, 24, 'A', '导入数据表', '', 1, 'gen/importTable', '', '', '', '', 0, 1, 0, 1657162736, 1731743432);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (40, 24, 'A', '代码生成', '', 1, 'gen/genCode', '', '', '', '', 0, 1, 0, 1657162806, 1731743447);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (42, 24, 'A', '同步表结构', '', 1, 'gen/syncTable', '', '', '', '', 0, 1, 0, 1657162934, 1731743461);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (43, 24, 'A', '删除数据表', '', 1, 'gen/delTable', '', '', '', '', 0, 1, 0, 1657163015, 1731743480);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (44, 24, 'A', '预览代码', '', 1, 'gen/previewCode', '', '', '', '', 0, 1, 0, 1657163263, 1731743496);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (45, 26, 'A', '新增', '', 1, 'dept.dept/add', '', '', '', '', 0, 1, 0, 1657163548, 1663750492);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (46, 26, 'A', '编辑', '', 1, 'dept.dept/edit', '', '', '', '', 0, 1, 0, 1657163599, 1663750498);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (47, 26, 'A', '删除', '', 1, 'dept.dept/delete', '', '', '', '', 0, 1, 0, 1657163687, 1663750504);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (48, 27, 'A', '新增', '', 1, 'dept.jobs/add', '', '', '', '', 0, 1, 0, 1657163778, 1663750524);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (49, 27, 'A', '编辑', '', 1, 'dept.jobs/edit', '', '', '', '', 0, 1, 0, 1657163800, 1663750530);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (50, 27, 'A', '删除', '', 1, 'dept.jobs/delete', '', '', '', '', 0, 1, 0, 1657163820, 1663750535);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (51, 30, 'A', '保存', '', 1, 'setting.web.web_setting/setWebsite', '', '', '', '', 0, 1, 0, 1657164469, 1663750649);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (52, 31, 'A', '保存', '', 1, 'setting.web.web_setting/setCopyright', '', '', '', '', 0, 1, 0, 1657164692, 1663750657);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (53, 32, 'A', '保存', '', 1, 'setting.web.web_setting/setAgreement', '', '', '', '', 0, 1, 0, 1657164824, 1663750665);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (54, 33, 'A', '设置', '', 1, 'setting.storage/setup', '', '', '', '', 0, 1, 0, 1657165303, 1663750673);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (55, 34, 'A', '新增', '', 1, 'setting.dict.dict_type/add', '', '', '', '', 0, 1, 0, 1657166966, 1663750783);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (56, 34, 'A', '编辑', '', 1, 'setting.dict.dict_type/edit', '', '', '', '', 0, 1, 0, 1657166997, 1663750789);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (57, 34, 'A', '删除', '', 1, 'setting.dict.dict_type/delete', '', '', '', '', 0, 1, 0, 1657167038, 1663750796);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (58, 62, 'A', '新增', '', 1, 'setting.dict.dict_data/add', '', '', '', '', 0, 1, 0, 1657167317, 1663750758);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (59, 62, 'A', '编辑', '', 1, 'setting.dict.dict_data/edit', '', '', '', '', 0, 1, 0, 1657167371, 1663750751);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (60, 62, 'A', '删除', '', 1, 'setting.dict.dict_data/delete', '', '', '', '', 0, 1, 0, 1657167397, 1663750768);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (61, 37, 'A', '清除系统缓存', '', 1, 'setting.system.cache/clear', '', '', '', '', 0, 1, 0, 1657173837, 1657173939);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (62, 23, 'C', '字典数据管理', '', 1, 'setting.dict.dict_data/lists', 'dict/data', 'setting/dict/data/index', '/dev_tools/dict', '', 1, 0, 0, 1657174351, 1663745617);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (63, 158, 'M', '素材管理', 'el-icon-Picture', 0, '', 'material', '', '', '', 0, 1, 0, 1657507133, 1710472243);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (64, 63, 'C', '素材中心', 'el-icon-PictureRounded', 0, '', 'index', 'material/index', '', '', 1, 1, 0, 1657507296, 1664355653);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (66, 26, 'A', '详情', '', 0, 'dept.dept/detail', '', '', '', '', 0, 1, 0, 1663725459, 1663750516);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (67, 27, 'A', '详情', '', 0, 'dept.jobs/detail', '', '', '', '', 0, 1, 0, 1663725514, 1663750559);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (68, 6, 'A', '详情', '', 0, 'auth.menu/detail', '', '', '', '', 0, 1, 0, 1663725564, 1663750584);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (69, 7, 'A', '详情', '', 0, 'auth.admin/detail', '', '', '', '', 0, 1, 0, 1663725623, 1663750615);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (70, 158, 'M', '文章资讯', 'el-icon-ChatLineSquare', 90, '', 'article', '', '', '', 0, 1, 0, 1663749965, 1710471867);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (71, 70, 'C', '文章管理', 'el-icon-ChatDotSquare', 0, 'article.article/lists', 'lists', 'article/lists/index', '', '', 1, 1, 0, 1663750101, 1664354615);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (72, 70, 'C', '文章添加/编辑', '', 0, 'article.article/add:edit', 'lists/edit', 'article/lists/edit', '/article/lists', '', 1, 0, 0, 1663750153, 1664356275);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (73, 70, 'C', '文章栏目', 'el-icon-CollectionTag', 0, 'article.articleCate/lists', 'column', 'article/column/index', '', '', 1, 1, 0, 1663750287, 1664354678);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (74, 71, 'A', '新增', '', 0, 'article.article/add', '', '', '', '', 0, 1, 0, 1663750335, 1663750335);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (75, 71, 'A', '详情', '', 0, 'article.article/detail', '', '', '', '', 0, 1, 0, 1663750354, 1663750383);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (76, 71, 'A', '删除', '', 0, 'article.article/delete', '', '', '', '', 0, 1, 0, 1663750413, 1663750413);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (77, 71, 'A', '修改状态', '', 0, 'article.article/updateStatus', '', '', '', '', 0, 1, 0, 1663750442, 1663750442);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (78, 73, 'A', '添加', '', 0, 'article.articleCate/add', '', '', '', '', 0, 1, 0, 1663750483, 1663750483);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (79, 73, 'A', '删除', '', 0, 'article.articleCate/delete', '', '', '', '', 0, 1, 0, 1663750895, 1663750895);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (80, 73, 'A', '详情', '', 0, 'article.articleCate/detail', '', '', '', '', 0, 1, 0, 1663750913, 1663750913);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (81, 73, 'A', '修改状态', '', 0, 'article.articleCate/updateStatus', '', '', '', '', 0, 1, 0, 1663750936, 1663750936);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (82, 0, 'M', '渠道设置', 'el-icon-Message', 500, '', 'channel', '', '', '', 0, 1, 0, 1663754084, 1710472649);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (83, 82, 'C', 'h5设置', 'el-icon-Cellphone', 100, 'channel.web_page_setting/getConfig', 'h5', 'channel/h5', '', '', 1, 1, 0, 1663754158, 1710472929);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (84, 83, 'A', '保存', '', 0, 'channel.web_page_setting/setConfig', '', '', '', '', 0, 1, 0, 1663754259, 1663754259);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (85, 82, 'M', '微信公众号', 'local-icon-dingdan', 80, '', 'wx_oa', '', '', '', 0, 1, 0, 1663755470, 1710472946);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (86, 85, 'C', '公众号配置', '', 0, 'channel.official_account_setting/getConfig', 'config', 'channel/wx_oa/config', '', '', 1, 1, 0, 1663755663, 1664355450);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (87, 85, 'C', '菜单管理', '', 0, 'channel.official_account_menu/detail', 'menu', 'channel/wx_oa/menu', '', '', 1, 1, 0, 1663755767, 1664355456);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (88, 86, 'A', '保存', '', 0, 'channel.official_account_setting/setConfig', '', '', '', '', 0, 1, 0, 1663755799, 1663755799);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (89, 86, 'A', '保存并发布', '', 0, 'channel.official_account_menu/save', '', '', '', '', 0, 1, 0, 1663756490, 1663756490);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (90, 85, 'C', '关注回复', '', 0, 'channel.official_account_reply/lists', 'follow', 'channel/wx_oa/reply/follow_reply', '', '', 1, 1, 0, 1663818358, 1663818366);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (91, 85, 'C', '关键字回复', '', 0, '', 'keyword', 'channel/wx_oa/reply/keyword_reply', '', '', 1, 1, 0, 1663818445, 1663818445);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (93, 85, 'C', '默认回复', '', 0, '', 'default', 'channel/wx_oa/reply/default_reply', '', '', 1, 1, 0, 1663818580, 1663818580);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (94, 82, 'C', '微信小程序', 'local-icon-weixin', 90, 'channel.mnp_settings/getConfig', 'weapp', 'channel/weapp', '', '', 1, 1, 0, 1663831396, 1710472941);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (95, 94, 'A', '保存', '', 0, 'channel.mnp_settings/setConfig', '', '', '', '', 0, 1, 0, 1663831436, 1663831436);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (96, 0, 'M', '装修管理', 'el-icon-Brush', 600, '', 'decoration', '', '', '', 0, 1, 0, 1663834825, 1710472099);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (97, 175, 'C', '页面装修', 'el-icon-CopyDocument', 100, 'decorate.page/detail', 'pages', 'decoration/pages/index', '', '', 1, 1, 0, 1663834879, 1710929256);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (98, 97, 'A', '保存', '', 0, 'decorate.page/save', '', '', '', '', 0, 1, 0, 1663834956, 1663834956);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (99, 175, 'C', '底部导航', 'el-icon-Position', 90, 'decorate.tabbar/detail', 'tabbar', 'decoration/tabbar', '', '', 1, 1, 0, 1663835004, 1710929262);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (100, 99, 'A', '保存', '', 0, 'decorate.tabbar/save', '', '', '', '', 0, 1, 0, 1663835018, 1663835018);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (101, 158, 'M', '消息管理', 'el-icon-ChatDotRound', 80, '', 'message', '', '', '', 0, 1, 0, 1663838602, 1710471874);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (102, 101, 'C', '通知设置', '', 0, 'notice.notice/settingLists', 'notice', 'message/notice/index', '', '', 1, 1, 0, 1663839195, 1663839195);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (103, 102, 'A', '详情', '', 0, 'notice.notice/detail', '', '', '', '', 0, 1, 0, 1663839537, 1663839537);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (104, 101, 'C', '通知设置编辑', '', 0, 'notice.notice/set', 'notice/edit', 'message/notice/edit', '/message/notice', '', 1, 0, 0, 1663839873, 1663898477);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (105, 71, 'A', '编辑', '', 0, 'article.article/edit', '', '', '', '', 0, 1, 0, 1663840043, 1663840053);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (107, 101, 'C', '短信设置', '', 0, 'notice.sms_config/getConfig', 'short_letter', 'message/short_letter/index', '', '', 1, 1, 0, 1663898591, 1664355708);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (108, 107, 'A', '设置', '', 0, 'notice.sms_config/setConfig', '', '', '', '', 0, 1, 0, 1663898644, 1663898644);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (109, 107, 'A', '详情', '', 0, 'notice.sms_config/detail', '', '', '', '', 0, 1, 0, 1663898661, 1663898661);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (110, 28, 'C', '热门搜索', 'el-icon-Search', 60, 'setting.hot_search/getConfig', 'search', 'setting/search/index', '', '', 1, 1, 0, 1663901821, 1710473109);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (111, 110, 'A', '保存', '', 0, 'setting.hot_search/setConfig', '', '', '', '', 0, 1, 0, 1663901856, 1663901856);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (112, 28, 'M', '用户设置', 'local-icon-keziyuyue', 90, '', 'user', '', '', '', 0, 1, 0, 1663903302, 1710473056);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (113, 112, 'C', '用户设置', '', 0, 'setting.user.user/getConfig', 'setup', 'setting/user/setup', '', '', 1, 1, 0, 1663903506, 1663903506);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (114, 113, 'A', '保存', '', 0, 'setting.user.user/setConfig', '', '', '', '', 0, 1, 0, 1663903522, 1663903522);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (115, 112, 'C', '登录注册', '', 0, 'setting.user.user/getRegisterConfig', 'login_register', 'setting/user/login_register', '', '', 1, 1, 0, 1663903832, 1663903832);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (116, 115, 'A', '保存', '', 0, 'setting.user.user/setRegisterConfig', '', '', '', '', 0, 1, 0, 1663903852, 1663903852);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (117, 0, 'M', '用户管理', 'el-icon-User', 900, '', 'consumer', '', '', '', 0, 1, 0, 1663904351, 1710472074);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (118, 117, 'C', '用户列表', 'local-icon-user_guanli', 100, 'user.user/lists', 'lists', 'consumer/lists/index', '', '', 1, 1, 0, 1663904392, 1710471845);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (119, 117, 'C', '用户详情', '', 90, 'user.user/detail', 'lists/detail', 'consumer/lists/detail', '/consumer/lists', '', 1, 0, 0, 1663904470, 1710471851);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (120, 119, 'A', '编辑', '', 0, 'user.user/edit', '', '', '', '', 0, 1, 0, 1663904499, 1663904499);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (140, 82, 'C', '微信开发平台', 'local-icon-notice_buyer', 70, 'channel.open_setting/getConfig', 'open_setting', 'channel/open_setting', '', '', 1, 1, 0, 1666085713, 1710472951);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (141, 140, 'A', '保存', '', 0, 'channel.open_setting/setConfig', '', '', '', '', 0, 1, 0, 1666085751, 1666085776);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (142, 176, 'C', 'PC端装修', 'el-icon-Monitor', 8, 'decorate.data/pc', 'pc', 'decoration/pc', '', '', 0, 1, 0, 1668423284, 1731742947);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (143, 35, 'C', '定时任务', '', 100, 'crontab.crontab/lists', 'scheduled_task', 'setting/system/scheduled_task/index', '', '', 1, 1, 0, 1669357509, 1710473246);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (144, 35, 'C', '定时任务添加/编辑', '', 0, 'crontab.crontab/add:edit', 'scheduled_task/edit', 'setting/system/scheduled_task/edit', '/setting/system/scheduled_task', '', 1, 0, 0, 1669357670, 1669357765);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (145, 143, 'A', '添加', '', 0, 'crontab.crontab/add', '', '', '', '', 0, 1, 0, 1669358282, 1669358282);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (146, 143, 'A', '编辑', '', 0, 'crontab.crontab/edit', '', '', '', '', 0, 1, 0, 1669358303, 1669358303);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (147, 143, 'A', '删除', '', 0, 'crontab.crontab/delete', '', '', '', '', 0, 1, 0, 1669358334, 1669358334);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (148, 0, 'M', '模板示例', 'el-icon-SetUp', 100, '', 'template', '', '', '', 0, 1, 0, 1670206819, 1710472811);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (149, 148, 'M', '组件示例', 'el-icon-Coin', 0, '', 'component', '', '', '', 0, 1, 0, 1670207182, 1670207244);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (150, 149, 'C', '富文本', '', 90, '', 'rich_text', 'template/component/rich_text', '', '', 1, 1, 0, 1670207751, 1710473315);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (151, 149, 'C', '上传文件', '', 80, '', 'upload', 'template/component/upload', '', '', 1, 1, 0, 1670208925, 1710473322);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (152, 149, 'C', '图标', '', 100, '', 'icon', 'template/component/icon', '', '', 1, 1, 0, 1670230069, 1710473306);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (153, 149, 'C', '文件选择器', '', 60, '', 'file', 'template/component/file', '', '', 1, 1, 0, 1670232129, 1710473341);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (154, 149, 'C', '链接选择器', '', 50, '', 'link', 'template/component/link', '', '', 1, 1, 0, 1670292636, 1710473346);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (155, 149, 'C', '超出自动打点', '', 40, '', 'overflow', 'template/component/overflow', '', '', 1, 1, 0, 1670292883, 1710473351);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (156, 149, 'C', '悬浮input', '', 70, '', 'popover_input', 'template/component/popover_input', '', '', 1, 1, 0, 1670293336, 1710473329);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (157, 119, 'A', '余额调整', '', 0, 'user.user/adjustMoney', '', '', '', '', 0, 1, 0, 1677143088, 1677143088);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (158, 0, 'M', '应用管理', 'el-icon-Postcard', 800, '', 'app', '', '', '', 0, 1, 0, 1677143430, 1710472079);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (159, 158, 'C', '用户充值', 'local-icon-fukuan', 100, 'recharge.recharge/getConfig', 'recharge', 'app/recharge/index', '', '', 1, 1, 0, 1677144284, 1710471860);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (160, 159, 'A', '保存', '', 0, 'recharge.recharge/setConfig', '', '', '', '', 0, 1, 0, 1677145012, 1677145012);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (161, 28, 'M', '支付设置', 'local-icon-set_pay', 80, '', 'pay', '', '', '', 0, 1, 0, 1677148075, 1710473061);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (162, 161, 'C', '支付方式', '', 0, 'setting.pay.pay_way/getPayWay', 'method', 'setting/pay/method/index', '', '', 1, 1, 0, 1677148207, 1677148207);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (163, 161, 'C', '支付配置', '', 0, 'setting.pay.pay_config/lists', 'config', 'setting/pay/config/index', '', '', 1, 1, 0, 1677148260, 1677148374);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (164, 162, 'A', '设置支付方式', '', 0, 'setting.pay.pay_way/setPayWay', '', '', '', '', 0, 1, 0, 1677219624, 1677219624);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (165, 163, 'A', '配置', '', 0, 'setting.pay.pay_config/setConfig', '', '', '', '', 0, 1, 0, 1677219655, 1677219655);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (166, 0, 'M', '财务管理', 'local-icon-user_gaikuang', 700, '', 'finance', '', '', '', 0, 1, 0, 1677552269, 1710472085);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (167, 166, 'C', '充值记录', 'el-icon-Wallet', 90, 'recharge.recharge/lists', 'recharge_record', 'finance/recharge_record', '', '', 1, 1, 0, 1677552757, 1710472902);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (168, 166, 'C', '余额明细', 'local-icon-qianbao', 100, 'finance.account_log/lists', 'balance_details', 'finance/balance_details', '', '', 1, 1, 0, 1677552976, 1710472894);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (169, 167, 'A', '退款', '', 0, 'recharge.recharge/refund', '', '', '', '', 0, 1, 0, 1677809715, 1677809715);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (170, 166, 'C', '退款记录', 'local-icon-heshoujilu', 0, 'finance.refund/record', 'refund_record', 'finance/refund_record', '', '', 1, 1, 0, 1677811271, 1677811271);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (171, 170, 'A', '重新退款', '', 0, 'recharge.recharge/refundAgain', '', '', '', '', 0, 1, 0, 1677811295, 1677811295);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (172, 170, 'A', '退款日志', '', 0, 'finance.refund/log', '', '', '', '', 0, 1, 0, 1677811361, 1677811361);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (173, 175, 'C', '系统风格', 'el-icon-Brush', 80, '', 'style', 'decoration/style/style', '', '', 1, 1, 0, 1681635044, 1710929278);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (174, 96, 'C', '素材中心', 'local-icon-shangchuanzhaopian', 0, 'file/listCate', 'material', 'material/index', '', '', 1, 1, 0, 1710734367, 1710734392);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (175, 96, 'M', '移动端', '', 100, '', 'mobile', '', '', '', 0, 1, 0, 1710901543, 1710929294);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (176, 96, 'M', 'PC端', '', 90, '', 'pc', '', '', '', 0, 1, 0, 1710901592, 1710929299);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (177, 29, 'C', '站点统计', '', 0, 'setting.web.web_setting/getSiteStatistics', 'setting/website/statistics', 'setting/website/statistics', '', '', 0, 1, 0, 1710901592, 1731914843);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (178, 177, 'A', '保存', '', 0, 'setting.web.web_setting/setSiteStatistics', '', '', '', '', 1, 1, 0, 1710901592, 1731915036);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (179, 174, 'A', '素材列表', '', 0, 'file/lists', '/file/lists', 'consumer/lists/index', '', '', 0, 0, 0, 1710901592, 1710929299);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (180, 24, 'A', '下载代码', '', 0, 'gen/downloadCode', '', '', '', '', 1, 1, 0, 1731743525, 1731743525);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (181, 24, 'A', '数据表详情', '', 0, 'gen/detail', '', '', '', '', 1, 1, 0, 1731743570, 1731743570);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (182, 24, 'A', '导入数据表列表', '', 0, 'gen/db', '', '', '', '', 1, 1, 0, 1731743594, 1731743594);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (183, 23, 'C', '编辑数据表', '', 0, 'gen/editTable', 'code/edit', 'dev_tools/code/edit', '/dev_tools/code', 'gen/editTable', 1, 0, 0, 1731743917, 1731745089);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (184, 174, 'A', '图片上传', '', 0, 'upload/image', '', '', '', '', 1, 1, 0, 1731902268, 1731902268);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (185, 174, 'A', '文件上传', '', 0, 'upload/file', '', '', '', '', 1, 1, 0, 1731902282, 1731902282);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (186, 174, 'A', '视频上传', '', 0, 'upload/video', '', '', '', '', 1, 1, 0, 1731902296, 1731902296);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (187, 174, 'A', '文件重命名', '', 0, 'file/rename', '', '', '', '', 1, 1, 0, 1731902317, 1731902317);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (188, 174, 'A', '文件移动', '', 0, 'file/move', '', '', '', '', 1, 1, 0, 1731902331, 1731902331);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (189, 174, 'A', 'file/delete', '', 0, '文件删除', '', '', '', '', 1, 1, 0, 1731902344, 1731902344);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (190, 174, 'A', '新增分类', '', 0, 'file/addCate', '', '', '', '', 1, 1, 0, 1731902365, 1731902365);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (191, 174, 'A', '分类重命名', '', 0, 'file/editCate', '', '', '', '', 1, 1, 0, 1731902383, 1731902383);
+INSERT INTO `yj_system_menu` (`id`, `pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (192, 174, 'A', '删除分类', '', 0, 'file/delCate', '', '', '', '', 1, 1, 0, 1731902397, 1731902397);
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_system_role
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_system_role`;
+CREATE TABLE `yj_system_role` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `name` varchar(16) NOT NULL DEFAULT '' COMMENT '名称',
+ `desc` varchar(128) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '描述',
+ `sort` int(11) DEFAULT '0' COMMENT '排序',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色表';
+
+-- ----------------------------
+-- Records of yj_system_role
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_system_role_menu
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_system_role_menu`;
+CREATE TABLE `yj_system_role_menu` (
+ `role_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '角色ID',
+ `menu_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '菜单ID',
+ PRIMARY KEY (`role_id`,`menu_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色菜单关系表';
+
+-- ----------------------------
+-- Records of yj_system_role_menu
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_user
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_user`;
+CREATE TABLE `yj_user` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `sn` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '编号',
+ `avatar` varchar(200) NOT NULL DEFAULT '' COMMENT '头像',
+ `real_name` varchar(32) NOT NULL DEFAULT '' COMMENT '真实姓名',
+ `nickname` varchar(32) NOT NULL DEFAULT '' COMMENT '用户昵称',
+ `account` varchar(32) NOT NULL DEFAULT '' COMMENT '用户账号',
+ `password` varchar(32) NOT NULL DEFAULT '' COMMENT '用户密码',
+ `mobile` varchar(32) NOT NULL DEFAULT '' COMMENT '用户电话',
+ `sex` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '用户性别: [1=男, 2=女]',
+ `channel` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '注册渠道: [1-微信小程序 2-微信公众号 3-手机H5 4-电脑PC 5-苹果APP 6-安卓APP]',
+ `is_disable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否禁用: [0=否, 1=是]',
+ `login_ip` varchar(200) NOT NULL DEFAULT '' COMMENT '最后登录IP',
+ `login_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后登录时间',
+ `is_new_user` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是新注册用户: [1-是, 0-否]',
+ `user_money` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '用户余额',
+ `total_recharge_amount` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '累计充值',
+ `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
+ `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ `delete_time` int(10) unsigned DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `sn` (`sn`) USING BTREE COMMENT '编号唯一',
+ UNIQUE KEY `account` (`account`) USING BTREE COMMENT '账号唯一'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表';
+
+-- ----------------------------
+-- Records of yj_user
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_user_account_log
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_user_account_log`;
+CREATE TABLE `yj_user_account_log` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `sn` varchar(32) NOT NULL DEFAULT '' COMMENT '流水号',
+ `user_id` int(11) NOT NULL COMMENT '用户id',
+ `change_object` tinyint(1) NOT NULL DEFAULT '0' COMMENT '变动对象',
+ `change_type` smallint(5) NOT NULL COMMENT '变动类型',
+ `action` tinyint(1) NOT NULL DEFAULT '0' COMMENT '动作 1-增加 2-减少',
+ `change_amount` decimal(10,2) NOT NULL COMMENT '变动数量',
+ `left_amount` decimal(10,2) NOT NULL DEFAULT '100.00' COMMENT '变动后数量',
+ `source_sn` varchar(255) DEFAULT NULL COMMENT '关联单号',
+ `remark` varchar(255) DEFAULT '' COMMENT '备注',
+ `extra` text COMMENT '预留扩展字段',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+-- ----------------------------
+-- Records of yj_user_account_log
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_user_auth
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_user_auth`;
+CREATE TABLE `yj_user_auth` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `user_id` int(11) NOT NULL COMMENT '用户id',
+ `openid` varchar(128) NOT NULL COMMENT '微信openid',
+ `unionid` varchar(128) DEFAULT '' COMMENT '微信unionid',
+ `terminal` tinyint(1) NOT NULL DEFAULT '1' COMMENT '客户端类型:1-微信小程序;2-微信公众号;3-手机H5;4-电脑PC;5-苹果APP;6-安卓APP',
+ `create_time` int(10) DEFAULT NULL COMMENT '创建时间',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `openid` (`openid`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户授权表';
+
+-- ----------------------------
+-- Records of yj_user_auth
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+-- ----------------------------
+-- Table structure for yj_user_session
+-- ----------------------------
+DROP TABLE IF EXISTS `yj_user_session`;
+CREATE TABLE `yj_user_session` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `user_id` int(11) NOT NULL COMMENT '用户id',
+ `terminal` tinyint(1) NOT NULL DEFAULT '1' COMMENT '客户端类型:1-微信小程序;2-微信公众号;3-手机H5;4-电脑PC;5-苹果APP;6-安卓APP',
+ `token` varchar(191) NOT NULL COMMENT '令牌',
+ `update_time` int(10) DEFAULT NULL COMMENT '更新时间',
+ `expire_time` int(10) NOT NULL COMMENT '到期时间',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `admin_id_client` (`user_id`,`terminal`) USING BTREE COMMENT '一个用户在一个终端只有一个token',
+ UNIQUE KEY `token` (`token`) USING BTREE COMMENT 'token是唯一的'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户会话表';
+
+-- ----------------------------
+-- Records of yj_user_session
+-- ----------------------------
+BEGIN;
+COMMIT;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+alter table yj_admin add first_login int default 1 null comment '是否首次登录';
+
diff --git a/yj-admin/pom.xml b/yj-admin/pom.xml
new file mode 100644
index 0000000..44653df
--- /dev/null
+++ b/yj-admin/pom.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+ yunjiao-server
+ org.yj
+ 1.0.0
+
+
+
+ 4.0.0
+ yj-admin
+ jar
+
+
+
+
+
+ org.yj
+ yj-common
+
+
+
+
+ org.yj
+ yj-generator
+ 1.0.0
+
+
+
+
+ com.github.penggle
+ kaptcha
+
+
+
+
+ cn.dev33
+ sa-token-spring-boot-starter
+
+
+
+
+ cn.dev33
+ sa-token-dao-redis-jackson
+
+
+
+
+ org.quartz-scheduler
+ quartz
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.6.4
+
+
+
+ repackage
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/yj-admin/src/main/java/com/yj/admin/LikeAdminApplication.java b/yj-admin/src/main/java/com/yj/admin/LikeAdminApplication.java
new file mode 100644
index 0000000..b115cf8
--- /dev/null
+++ b/yj-admin/src/main/java/com/yj/admin/LikeAdminApplication.java
@@ -0,0 +1,25 @@
+package com.yj.admin;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+/**
+ * 启动器
+ */
+@Configuration
+@ComponentScan(basePackages = {"com.yj"})
+@MapperScan(basePackages = {"com.yj.*.mapper"})
+@EnableTransactionManagement
+@SpringBootApplication(exclude = {RedisRepositoriesAutoConfiguration.class})
+public class LikeAdminApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(LikeAdminApplication.class, args);
+ }
+
+}
diff --git a/yj-admin/src/main/java/com/yj/admin/LikeAdminInterceptor.java b/yj-admin/src/main/java/com/yj/admin/LikeAdminInterceptor.java
new file mode 100644
index 0000000..9cf73a7
--- /dev/null
+++ b/yj-admin/src/main/java/com/yj/admin/LikeAdminInterceptor.java
@@ -0,0 +1,218 @@
+package com.yj.admin;
+
+import cn.dev33.satoken.stp.StpUtil;
+import com.alibaba.fastjson2.JSON;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.yj.admin.service.admin.IAdminRoleService;
+import com.yj.common.aop.NotPower;
+import com.yj.common.aop.NotLogin;
+import com.yj.common.core.AjaxResult;
+import com.yj.common.entity.admin.Admin;
+import com.yj.common.enums.ErrorEnum;
+import com.yj.common.exception.LoginException;
+import com.yj.common.mapper.admin.AdminMapper;
+import com.yj.common.util.StringUtils;
+import com.yj.common.util.YmlUtils;
+import org.jetbrains.annotations.NotNull;
+import org.springframework.stereotype.Component;
+import org.springframework.web.method.HandlerMethod;
+import org.springframework.web.servlet.HandlerInterceptor;
+
+import javax.annotation.Resource;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.lang.reflect.Method;
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * 拦截器
+ */
+@Component
+public class LikeAdminInterceptor implements HandlerInterceptor {
+
+ @Resource
+ AdminMapper systemAuthAdminMapper;
+
+ @Resource
+ IAdminRoleService iAdminRoleService;
+
+ /**
+ * 前置处理器
+ *
+ * @param request 请求
+ * @param response 响应
+ * @param handler 处理
+ * @return boolean
+ * @throws Exception 异常
+ */
+ @Override
+ public boolean preHandle(@NotNull HttpServletRequest request,
+ @NotNull HttpServletResponse response,
+ @NotNull Object handler) throws Exception {
+
+ // 请求方法类型
+ String reqUri = request.getRequestURI();
+ if (!(handler instanceof HandlerMethod) || ( !reqUri.startsWith("/api") && !reqUri.startsWith("/adminapi"))) {
+ return HandlerInterceptor.super.preHandle(request, response, handler);
+ }
+
+ // 登录权限校验
+ try {
+ response.setContentType("application/json;charset=utf-8");
+ Method method = this.obtainAop(handler);
+ this.checkLogin(method, reqUri);
+ } catch (LoginException e) {
+ AjaxResult