初始化仓库
This commit is contained in:
26
sql/1.3.0.20220928/sql更新内容.txt
Normal file
26
sql/1.3.0.20220928/sql更新内容.txt
Normal file
@ -0,0 +1,26 @@
|
||||
1.2.1版本升级至1.3.0
|
||||
|
||||
1,更换默认数据表前缀 ls => la
|
||||
2,role表 更名为 system_role
|
||||
3,调整 file表 调整表结构,system_menu 表 调整表描述
|
||||
4,新增数据表
|
||||
article
|
||||
article_cate
|
||||
article_collect
|
||||
decorate_page
|
||||
decorate_tabbar
|
||||
hot_search
|
||||
notice_record
|
||||
notice_setting
|
||||
official_account_reply
|
||||
sms_log
|
||||
user
|
||||
user_auth
|
||||
user_session
|
||||
|
||||
5, 默认数据
|
||||
system_menu 菜单调整
|
||||
decorate_page 装修配置页 -- 有默认图片
|
||||
decorate_tabbar 底部导航菜单-- 有默认图片
|
||||
article 文章-- 有默认图片
|
||||
article_cate 文章分类
|
||||
211
sql/1.3.0.20220928/update.sql
Normal file
211
sql/1.3.0.20220928/update.sql
Normal file
@ -0,0 +1,211 @@
|
||||
ALTER TABLE ls_admin RENAME TO la_admin;
|
||||
ALTER TABLE ls_admin_session RENAME TO la_admin_session;
|
||||
ALTER TABLE ls_config RENAME TO la_config;
|
||||
ALTER TABLE ls_dept RENAME TO la_dept;
|
||||
ALTER TABLE ls_dict_data RENAME TO la_dict_data;
|
||||
ALTER TABLE ls_dict_type RENAME TO la_dict_type;
|
||||
ALTER TABLE ls_file RENAME TO la_file;
|
||||
ALTER TABLE ls_file_cate RENAME TO la_file_cate;
|
||||
ALTER TABLE ls_generate_column RENAME TO la_generate_column;
|
||||
ALTER TABLE ls_generate_table RENAME TO la_generate_table;
|
||||
ALTER TABLE ls_jobs RENAME TO la_jobs;
|
||||
ALTER TABLE ls_operation_log RENAME TO la_operation_log;
|
||||
ALTER TABLE ls_role RENAME TO la_system_role;
|
||||
ALTER TABLE ls_system_menu RENAME TO la_system_menu;
|
||||
ALTER TABLE ls_system_role_menu RENAME TO la_system_role_menu;
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT '' COMMENT '简介',
|
||||
`abstract` text NULL COMMENT '文章摘要',
|
||||
`image` varchar(128) NULL DEFAULT NULL COMMENT '文章图片',
|
||||
`author` varchar(255) NULL DEFAULT '' COMMENT '作者',
|
||||
`content` text NULL COMMENT '文章内容',
|
||||
`click_virtual` int(10) NULL DEFAULT 0 COMMENT '虚拟浏览量',
|
||||
`click_actual` int(11) NULL DEFAULT 0 COMMENT '实际浏览量',
|
||||
`is_show` tinyint(1) NOT NULL DEFAULT 1 COMMENT '是否显示:1-是.0-否',
|
||||
`sort` int(5) NULL DEFAULT 0 COMMENT '排序',
|
||||
`create_time` int(11) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(11) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(11) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '文章表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_article_cate` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '文章分类id',
|
||||
`name` varchar(90) NULL DEFAULT NULL COMMENT '分类名称',
|
||||
`sort` int(11) NULL DEFAULT 0 COMMENT '排序',
|
||||
`is_show` tinyint(1) NULL DEFAULT 1 COMMENT '是否显示:1-是;0-否',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '文章分类表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '文章收藏表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_decorate_page` (
|
||||
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`type` tinyint(2) UNSIGNED NOT NULL DEFAULT 10 COMMENT '页面类型',
|
||||
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '页面名称',
|
||||
`data` text NULL 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 COMMENT = '装修页面配置表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL 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 COMMENT = '装修底部导航表' ROW_FORMAT = Dynamic;
|
||||
|
||||
ALTER TABLE `la_file` ADD COLUMN `source_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '上传者id' AFTER `cid`;
|
||||
|
||||
ALTER TABLE `la_file` ADD COLUMN `source` tinyint(1) NOT NULL DEFAULT 0 COMMENT '来源类型[0-后台,1-用户]' AFTER `source_id`;
|
||||
|
||||
ALTER TABLE `la_file` DROP COLUMN `user_id`;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '热门搜索表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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 NULL DEFAULT 0 COMMENT '场景',
|
||||
`read` tinyint(1) NULL DEFAULT 0 COMMENT '已读状态;0-未读,1-已读',
|
||||
`recipient` tinyint(1) NULL DEFAULT 0 COMMENT '通知接收对象类型;1-会员;2-商家;3-平台;4-游客(未注册用户)',
|
||||
`send_type` tinyint(1) NULL DEFAULT 0 COMMENT '通知发送类型 1-系统通知 2-短信通知 3-微信模板 4-微信小程序',
|
||||
`notice_type` tinyint(1) NULL DEFAULT NULL COMMENT '通知类型 1-业务通知 2-验证码',
|
||||
`extra` varchar(255) NULL DEFAULT '' COMMENT '其他',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '通知记录表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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 NULL COMMENT '系统通知设置',
|
||||
`sms_notice` text NULL COMMENT '短信通知设置',
|
||||
`oa_notice` text NULL COMMENT '公众号通知设置',
|
||||
`mnp_notice` text NULL COMMENT '小程序通知设置',
|
||||
`support` char(10) NOT NULL DEFAULT '' COMMENT '支持的发送类型 1-系统通知 2-短信通知 3-微信模板消息 4-小程序提醒',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '通知设置表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '公众号消息回调表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL COMMENT '发送关键字(注册、找回密码)',
|
||||
`is_verify` tinyint(1) NULL DEFAULT 0 COMMENT '是否已验证;0-否;1-是',
|
||||
`check_num` int(5) NULL DEFAULT 0 COMMENT '验证次数',
|
||||
`send_status` tinyint(1) NOT NULL COMMENT '发送状态:0-发送中;1-发送成功;2-发送失败',
|
||||
`send_time` int(10) NOT NULL COMMENT '发送时间',
|
||||
`results` text NULL COMMENT '短信结果',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '短信记录表' ROW_FORMAT = Dynamic;
|
||||
|
||||
ALTER TABLE `la_system_menu` COMMENT = '系统菜单表';
|
||||
|
||||
CREATE TABLE `la_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(30) NOT NULL DEFAULT '' COMMENT '最后登录IP',
|
||||
`login_time` int(10) 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 '更新时间',
|
||||
`delete_time` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `sn`(`sn`) USING BTREE COMMENT '编号唯一',
|
||||
UNIQUE INDEX `account`(`account`) USING BTREE COMMENT '账号唯一'
|
||||
) ENGINE = InnoDB COMMENT = '用户表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_user_auth` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(11) NOT NULL COMMENT '用户id',
|
||||
`openid` varchar(255) NOT NULL COMMENT '微信openid',
|
||||
`unionid` varchar(255) NULL 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) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `openid`(`openid`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '用户授权表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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(32) NOT NULL COMMENT '令牌',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`expire_time` int(10) NOT NULL COMMENT '到期时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `admin_id_client`(`user_id`, `terminal`) USING BTREE COMMENT '一个用户在一个终端只有一个token',
|
||||
UNIQUE INDEX `token`(`token`) USING BTREE COMMENT 'token是唯一的'
|
||||
) ENGINE = InnoDB COMMENT = '用户会话表' ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
|
||||
5
sql/1.3.1.20221014/sql更新内容.txt
Normal file
5
sql/1.3.1.20221014/sql更新内容.txt
Normal file
@ -0,0 +1,5 @@
|
||||
1.3.0版本升级至1.3.1
|
||||
|
||||
用户授权表user_auth
|
||||
openid长度调整为128
|
||||
unionid长度调整为128
|
||||
7
sql/1.3.1.20221014/update.sql
Normal file
7
sql/1.3.1.20221014/update.sql
Normal file
@ -0,0 +1,7 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_user_auth` MODIFY COLUMN `openid` varchar(128) NOT NULL COMMENT '微信openid' AFTER `user_id`;
|
||||
|
||||
ALTER TABLE `la_user_auth` MODIFY COLUMN `unionid` varchar(128) NULL DEFAULT '' COMMENT '微信unionid' AFTER `openid`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
3
sql/1.3.1.20221024/sql更新内容.txt
Normal file
3
sql/1.3.1.20221024/sql更新内容.txt
Normal file
@ -0,0 +1,3 @@
|
||||
1.3.1-默认数据
|
||||
|
||||
notice_setting表补充默认配置数据
|
||||
11
sql/1.3.1.20221024/update.sql
Normal file
11
sql/1.3.1.20221024/update.sql
Normal file
@ -0,0 +1,11 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT INTO `la_notice_setting`(`scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (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 `la_notice_setting`(`scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (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 `la_notice_setting`(`scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (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 `la_notice_setting`(`scene_id`, `scene_name`, `scene_desc`, `recipient`, `type`, `system_notice`, `sms_notice`, `oa_notice`, `mnp_notice`, `support`, `update_time`) VALUES (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);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
3
sql/1.4.0.20221027/sql更新内容.txt
Normal file
3
sql/1.4.0.20221027/sql更新内容.txt
Normal file
@ -0,0 +1,3 @@
|
||||
1.4.0
|
||||
|
||||
增加微信开放平台配置菜单
|
||||
9
sql/1.4.0.20221027/update.sql
Normal file
9
sql/1.4.0.20221027/update.sql
Normal file
@ -0,0 +1,9 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (82, 'C', '微信开放平台', 'local-icon-notice_buyer', 0, 'channel.open_setting/getConfig', 'open_setting', 'channel/open_setting', '', '', 0, 1, 0, 1666085713, 1666085713);
|
||||
|
||||
SELECT @pid := LAST_INSERT_ID();
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'A', '保存', '', 0, 'channel.open_setting/setConfig', '', '', '', '', 0, 1, 0, 1666085751, 1666085776);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
5
sql/1.4.1.20221117/sql更新内容.txt
Normal file
5
sql/1.4.1.20221117/sql更新内容.txt
Normal file
@ -0,0 +1,5 @@
|
||||
1.4.1
|
||||
|
||||
la_decorate_page表更新 type字段描述
|
||||
la_decorate_page表增加PC装修默认数据
|
||||
la_system_menu表增加 菜单 (PC装修菜单)
|
||||
9
sql/1.4.1.20221117/update.sql
Normal file
9
sql/1.4.1.20221117/update.sql
Normal file
@ -0,0 +1,9 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_decorate_page` MODIFY COLUMN `type` tinyint(2) UNSIGNED NOT NULL DEFAULT 10 COMMENT '页面类型 1=商城首页, 2=个人中心, 3=客服设置 4-PC首页' AFTER `id`;
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (96, 'C', 'PC端', 'el-icon-Monitor', 0, '', 'pc', 'decoration/pc', '', '', 0, 1, 0, 1668423284, 1668423284);
|
||||
|
||||
INSERT INTO `la_decorate_page`(`id`, `type`, `name`, `data`, `create_time`, `update_time`) VALUES (4, 4, 'PC设置', '[{\"id\":\"lajcn8d0hzhed\",\"title\":\"首页轮播图\",\"name\":\"banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/resource/image/adminapi/default/banner01.png\",\"name\":\"\",\"link\":{}}]},\"styles\":{\"position\":\"absolute\",\"left\":\"42px\",\"top\":\"27px\",\"width\":\"234px\",\"height\":\"114px\"}}]', 1661757188, 1668585410);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
14
sql/1.4.2.20221201/sql更新内容.txt
Normal file
14
sql/1.4.2.20221201/sql更新内容.txt
Normal file
@ -0,0 +1,14 @@
|
||||
1.4.2
|
||||
|
||||
la_admin表 删除 role_id,dept_id, jobs_id 3个字段
|
||||
|
||||
新增表
|
||||
la_admin_dept 部门关联表
|
||||
la_admin_jobs 岗位关联表
|
||||
la_admin_role 角色关联表
|
||||
la_dev_crontab 定时任务表
|
||||
|
||||
新增数据
|
||||
菜单表(la_system_menu)增加定时任务相关菜单
|
||||
部门关联表(la_admin_dept)增加超级管理员关联总公司的数据
|
||||
|
||||
62
sql/1.4.2.20221201/update.sql
Normal file
62
sql/1.4.2.20221201/update.sql
Normal file
@ -0,0 +1,62 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_admin` DROP COLUMN `role_id`;
|
||||
|
||||
ALTER TABLE `la_admin` DROP COLUMN `dept_id`;
|
||||
|
||||
ALTER TABLE `la_admin` DROP COLUMN `jobs_id`;
|
||||
|
||||
CREATE TABLE `la_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 COMMENT = '部门关联表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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 COMMENT = '岗位关联表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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 COMMENT = '角色关联表' ROW_FORMAT = Dynamic;
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT 0 COMMENT '是否系统任务 0-否 1-是',
|
||||
`remark` varchar(255) NULL DEFAULT '' COMMENT '备注',
|
||||
`command` varchar(64) NOT NULL COMMENT '命令内容',
|
||||
`params` varchar(64) NULL DEFAULT '' COMMENT '参数',
|
||||
`status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态 1-运行 2-停止 3-错误',
|
||||
`expression` varchar(64) NOT NULL COMMENT '运行规则',
|
||||
`error` varchar(256) NULL DEFAULT NULL COMMENT '运行失败原因',
|
||||
`last_time` int(11) NULL DEFAULT NULL COMMENT '最后执行时间',
|
||||
`time` varchar(64) NULL DEFAULT '0' COMMENT '实时执行时长',
|
||||
`max_time` varchar(64) NULL DEFAULT '0' COMMENT '最大执行时长',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '计划任务表' ROW_FORMAT = Dynamic;
|
||||
|
||||
|
||||
INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (35, 'C', '定时任务', '', 0, 'crontab.crontab/lists', 'scheduled_task', 'setting/system/scheduled_task/index', '', '', 0, 1, 0, 1669357509, 1669357711);
|
||||
|
||||
SELECT @pid := LAST_INSERT_ID();
|
||||
|
||||
INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'A', '添加', '', 0, 'crontab.crontab/add', '', '', '', '', 0, 1, 0, 1669358282, 1669358282);
|
||||
|
||||
INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'A', '编辑', '', 0, 'crontab.crontab/edit', '', '', '', '', 0, 1, 0, 1669358303, 1669358303);
|
||||
|
||||
INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'A', '删除', '', 0, 'crontab.crontab/delete', '', '', '', '', 0, 1, 0, 1669358334, 1669358334);
|
||||
|
||||
INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (35, 'C', '定时任务添加/编辑', '', 0, 'crontab.crontab/add:edit', 'scheduled_task/edit', 'setting/system/scheduled_task/edit', '/setting/system/scheduled_task', '', 0, 0, 0, 1669357670, 1669357765);
|
||||
|
||||
INSERT INTO `la_admin_dept` (`admin_id`, `dept_id`) VALUES (1, 1);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
8
sql/1.5.0.20221223/sql更新内容.txt
Normal file
8
sql/1.5.0.20221223/sql更新内容.txt
Normal file
@ -0,0 +1,8 @@
|
||||
1.5.0
|
||||
|
||||
la_generate_table表
|
||||
增加 【delete, tree,relations】配置字段
|
||||
|
||||
la_system_menu表
|
||||
增加 模板菜单数据
|
||||
|
||||
33
sql/1.5.0.20221223/update.sql
Normal file
33
sql/1.5.0.20221223/update.sql
Normal file
@ -0,0 +1,33 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_generate_table` ADD COLUMN `delete` text NULL COMMENT '删除配置' AFTER `menu`;
|
||||
|
||||
ALTER TABLE `la_generate_table` ADD COLUMN `tree` text NULL COMMENT '树表配置' AFTER `delete`;
|
||||
|
||||
ALTER TABLE `la_generate_table` ADD COLUMN `relations` text NULL COMMENT '关联配置' AFTER `tree`;
|
||||
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (0, 'M', '模板', 'el-icon-SetUp', 0, '', 'template', '', '', '', 0, 1, 0, 1670206819, 1670206819);
|
||||
|
||||
SELECT @pid := LAST_INSERT_ID();
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'M', '组件示例', 'el-icon-Coin', 0, '', 'component', '', '', '', 0, 1, 0, 1670207182, 1670207244);
|
||||
|
||||
SELECT @pid := LAST_INSERT_ID();
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '富文本', '', 0, '', 'rich_text', 'template/component/rich_text', '', '', 0, 1, 0, 1670207751, 1670207751);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '上传文件', '', 0, '', 'upload', 'template/component/upload', '', '', 0, 1, 0, 1670208925, 1670208925);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '图标', '', 0, '', 'icon', 'template/component/icon', '', '', 0, 1, 0, 1670230069, 1670230069);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '文件选择器', '', 0, '', 'file', 'template/component/file', '', '', 0, 1, 0, 1670232129, 1670232129);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '链接选择器', '', 0, '', 'link', 'template/component/link', '', '', 0, 1, 0, 1670292636, 1670292636);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '超出自动打点', '', 0, '', 'overflow', 'template/component/overflow', '', '', 0, 1, 0, 1670292883, 1670292883);
|
||||
|
||||
INSERT INTO `la_system_menu`(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_cache`, `is_show`, `is_disable`, `create_time`, `update_time`) VALUES (@pid, 'C', '悬浮input', '', 0, '', 'popover_input', 'template/component/popover_input', '', '', 0, 1, 0, 1670293336, 1670293336);
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
105
sql/1.6.0.20230306/menu.sql
Normal file
105
sql/1.6.0.20230306/menu.sql
Normal file
@ -0,0 +1,105 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT INTO `la_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', 0, 'channel.open_setting/getConfig', 'open_setting', 'channel/open_setting', '', '', 0, 1, 0, 1666085713, 1666085713);
|
||||
|
||||
INSERT INTO `la_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 `la_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, 96, 'C', 'PC端', 'el-icon-Monitor', 0, '', 'pc', 'decoration/pc', '', '', 0, 1, 0, 1668423284, 1668423284);
|
||||
|
||||
INSERT INTO `la_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', '定时任务', '', 0, 'crontab.crontab/lists', 'scheduled_task', 'setting/system/scheduled_task/index', '', '', 0, 1, 0, 1669357509, 1669357711);
|
||||
|
||||
INSERT INTO `la_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', '', 0, 0, 0, 1669357670, 1669357765);
|
||||
|
||||
INSERT INTO `la_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 `la_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 `la_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 `la_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', 0, '', 'template', '', '', '', 0, 1, 0, 1670206819, 1677842041);
|
||||
|
||||
INSERT INTO `la_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 `la_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', '富文本', '', 0, '', 'rich_text', 'template/component/rich_text', '', '', 0, 1, 0, 1670207751, 1670207751);
|
||||
|
||||
INSERT INTO `la_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', '上传文件', '', 0, '', 'upload', 'template/component/upload', '', '', 0, 1, 0, 1670208925, 1670208925);
|
||||
|
||||
INSERT INTO `la_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', '图标', '', 0, '', 'icon', 'template/component/icon', '', '', 0, 1, 0, 1670230069, 1670230069);
|
||||
|
||||
INSERT INTO `la_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', '文件选择器', '', 0, '', 'file', 'template/component/file', '', '', 0, 1, 0, 1670232129, 1670232129);
|
||||
|
||||
INSERT INTO `la_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', '链接选择器', '', 0, '', 'link', 'template/component/link', '', '', 0, 1, 0, 1670292636, 1670292636);
|
||||
|
||||
INSERT INTO `la_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', '超出自动打点', '', 0, '', 'overflow', 'template/component/overflow', '', '', 0, 1, 0, 1670292883, 1670292883);
|
||||
|
||||
INSERT INTO `la_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', '', 0, '', 'popover_input', 'template/component/popover_input', '', '', 0, 1, 0, 1670293336, 1670293336);
|
||||
|
||||
INSERT INTO `la_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 `la_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', 750, '', 'app', '', '', '', 0, 1, 0, 1677143430, 1677842080);
|
||||
|
||||
INSERT INTO `la_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', 0, 'recharge.recharge/getConfig', 'recharge', 'app/recharge/index', '', '', 0, 1, 0, 1677144284, 1677144316);
|
||||
|
||||
INSERT INTO `la_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 `la_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', 0, '', 'pay', '', '', '', 0, 1, 0, 1677148075, 1677148075);
|
||||
|
||||
INSERT INTO `la_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', '', '', 0, 1, 0, 1677148207, 1677148207);
|
||||
|
||||
INSERT INTO `la_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', '', '', 0, 1, 0, 1677148260, 1677148374);
|
||||
|
||||
INSERT INTO `la_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 `la_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 `la_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', 650, '', 'finance', '', '', '', 0, 1, 0, 1677552269, 1677842158);
|
||||
|
||||
INSERT INTO `la_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', 0, 'recharge.recharge/lists', 'recharge_record', 'finance/recharge_record', '', '', 0, 1, 0, 1677552757, 1677552777);
|
||||
|
||||
INSERT INTO `la_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', 0, 'finance.account_log/lists', 'balance_details', 'finance/balance_details', '', '', 0, 1, 0, 1677552976, 1677553003);
|
||||
|
||||
INSERT INTO `la_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 `la_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', '', '', 0, 1, 0, 1677811271, 1677811271);
|
||||
|
||||
INSERT INTO `la_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 `la_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);
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 158, `type` = 'M', `name` = '消息管理', `icon` = 'el-icon-ChatDotRound', `sort` = 0, `perms` = '', `paths` = 'message', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663838602, `update_time` = 1677143459 WHERE `id` = 101;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 121;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 122;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 123;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 124;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 125;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 126;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 127;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 128;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 129;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 130;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 131;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 132;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 133;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 134;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 135;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 136;
|
||||
|
||||
DELETE FROM `la_system_menu` WHERE `id` = 137;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
30
sql/1.6.0.20230306/sql更新内容.txt
Normal file
30
sql/1.6.0.20230306/sql更新内容.txt
Normal file
@ -0,0 +1,30 @@
|
||||
1.6.0
|
||||
|
||||
表结构调整
|
||||
|
||||
表调整
|
||||
la_user表
|
||||
增加 【is_new_user, user_money,total_recharge_amount】字段
|
||||
|
||||
表增加
|
||||
la_dev_pay_config 支付配置表
|
||||
la_dev_pay_way 支付方式表
|
||||
la_recharge_order 充值订单表
|
||||
la_refund_record 退款记录表
|
||||
la_refund_log 退款日志表
|
||||
la_user_account_log 用户账户流水表
|
||||
|
||||
|
||||
表数据调整
|
||||
|
||||
菜单数据更新sql独立在menu.sql。
|
||||
若已对菜单做过编辑的请谨慎直接更新menu.sql。可以新建数据库导入
|
||||
server/public/install/db/like.sql 完整安装数据对比菜单调整。
|
||||
|
||||
la_decorate_page 装修页配置表 调整个人中心页数据
|
||||
la_system_menu 系统菜单表 新增菜单
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
107
sql/1.6.0.20230306/update.sql
Normal file
107
sql/1.6.0.20230306/update.sql
Normal file
@ -0,0 +1,107 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_user` ADD COLUMN `is_new_user` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否是新注册用户: [1-是, 0-否]' AFTER `login_time`;
|
||||
|
||||
ALTER TABLE `la_user` ADD COLUMN `user_money` decimal(10, 2) UNSIGNED NULL DEFAULT 0.00 COMMENT '用户余额' AFTER `is_new_user`;
|
||||
|
||||
ALTER TABLE `la_user` ADD COLUMN `total_recharge_amount` decimal(10, 2) UNSIGNED NULL DEFAULT 0.00 COMMENT '累计充值' AFTER `user_money`;
|
||||
|
||||
|
||||
CREATE TABLE `la_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 NULL COMMENT '对应支付配置(json字符串)',
|
||||
`icon` varchar(255) NULL DEFAULT NULL COMMENT '图标',
|
||||
`sort` int(5) NULL DEFAULT NULL COMMENT '排序',
|
||||
`remark` varchar(255) NULL DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE `la_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
|
||||
);
|
||||
|
||||
CREATE TABLE `la_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) NULL 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) NULL DEFAULT NULL COMMENT '支付时间',
|
||||
`order_amount` decimal(10, 2) NOT NULL COMMENT '充值金额',
|
||||
`order_terminal` tinyint(1) NULL DEFAULT 1 COMMENT '终端',
|
||||
`transaction_id` varchar(128) NULL DEFAULT NULL COMMENT '第三方平台交易流水号',
|
||||
`refund_status` tinyint(1) NULL DEFAULT 0 COMMENT '退款状态 0-未退款 1-已退款',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE `la_refund_log` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`sn` varchar(32) NULL 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 NULL COMMENT '退款信息',
|
||||
`create_time` int(10) UNSIGNED NULL DEFAULT 0 COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE `la_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) NULL 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) NULL 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 NULL DEFAULT 0 COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE `la_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) NULL DEFAULT NULL COMMENT '关联单号',
|
||||
`remark` varchar(255) NULL DEFAULT '' COMMENT '备注',
|
||||
`extra` text NULL COMMENT '预留扩展字段',
|
||||
`create_time` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`delete_time` int(10) NULL DEFAULT NULL COMMENT '删除时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO `la_dev_pay_config` VALUES (1, '余额支付', 1, '', '/resource/image/adminapi/default/balance_pay.png', 128, '余额支付备注'), (2, '微信支付', 2, '{\"interface_version\":\"v3\",\"merchant_type\":\"ordinary_merchant\",\"mch_id\":\"\",\"pay_sign_key\":\"\",\"apiclient_cert\":\"\",\"apiclient_key\":\"\"}', '/resource/image/adminapi/default/wechat_pay.png', 123, '微信支付备注');
|
||||
|
||||
INSERT INTO `la_dev_pay_way` VALUES (1, 1, 1, 0, 1), (2, 2, 1, 1, 1), (3, 1, 2, 0, 1), (4, 2, 2, 1, 1), (5, 1, 3, 0, 1), (6, 2, 3, 1, 1);
|
||||
|
||||
UPDATE `la_decorate_page` SET `type` = 2, `name` = '个人中心', `data` = '[{\"title\":\"用户信息\",\"name\":\"user-info\",\"disabled\":1,\"content\":{},\"styles\":{}},{\"title\":\"我的服务\",\"name\":\"my-service\",\"content\":{\"style\":2,\"title\":\"服务中心\",\"data\":[{\"image\":\"/resource/image/adminapi/default/user_collect.png\",\"name\":\"我的收藏\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"}},{\"image\":\"/resource/image/adminapi/default/user_setting.png\",\"name\":\"个人设置\",\"link\":{\"path\":\"/pages/user_set/user_set\",\"name\":\"个人设置\",\"type\":\"shop\"}},{\"image\":\"/resource/image/adminapi/default/user_kefu.png\",\"name\":\"联系客服\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"}},{\"image\":\"/resource/image/adminapi/default/wallet.png\",\"name\":\"我的钱包\",\"link\":{\"path\":\"/packages/pages/user_wallet/user_wallet\",\"name\":\"我的钱包\",\"type\":\"shop\"}}]},\"styles\":{}},{\"title\":\"个人中心广告图\",\"name\":\"user-banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/resource/image/adminapi/default/ad01.jpg\",\"name\":\"\",\"link\":{}}]},\"styles\":{}}]', `create_time` = 1661757188, `update_time` = 1663320728 WHERE `id` = 2;
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
9
sql/1.7.0.20240207/sql更新内容.txt
Normal file
9
sql/1.7.0.20240207/sql更新内容.txt
Normal file
@ -0,0 +1,9 @@
|
||||
1.7.0
|
||||
|
||||
表结构调整
|
||||
|
||||
表调整
|
||||
la_file表
|
||||
la_operation_log表
|
||||
la_user表
|
||||
la_decorate_tabbar表
|
||||
11
sql/1.7.0.20240207/update.sql
Normal file
11
sql/1.7.0.20240207/update.sql
Normal file
@ -0,0 +1,11 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_file` MODIFY COLUMN `name` varchar(255) NOT NULL DEFAULT '' COMMENT '文件名称' AFTER `type`;
|
||||
|
||||
ALTER TABLE `la_operation_log` MODIFY COLUMN `url` varchar(600) NOT NULL COMMENT '访问链接' AFTER `type`;
|
||||
|
||||
ALTER TABLE `la_user` MODIFY COLUMN `login_ip` varchar(200) NOT NULL DEFAULT '' COMMENT '最后登录IP' AFTER `is_disable`;
|
||||
|
||||
ALTER TABLE `la_decorate_tabbar` ADD COLUMN `is_show` tinyint(255) UNSIGNED NOT NULL DEFAULT 1 COMMENT '显示状态' AFTER `link`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
13
sql/1.8.0.20240321/sql更新内容.txt
Normal file
13
sql/1.8.0.20240321/sql更新内容.txt
Normal file
@ -0,0 +1,13 @@
|
||||
1.8.0
|
||||
装修数据及菜单数据有调整,请备份后谨慎更新
|
||||
|
||||
表结构调整
|
||||
la_decorate_page
|
||||
la_recharge_order
|
||||
|
||||
表数据调整
|
||||
la_dev_pay_config
|
||||
la_dev_pay_way
|
||||
la_decorate_tabbar
|
||||
la_decorate_page
|
||||
la_system_menu
|
||||
133
sql/1.8.0.20240321/update.sql
Normal file
133
sql/1.8.0.20240321/update.sql
Normal file
@ -0,0 +1,133 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_decorate_page` ADD COLUMN `meta` text NULL COMMENT '页面设置' AFTER `data`;
|
||||
|
||||
ALTER TABLE `la_recharge_order` ADD COLUMN `refund_transaction_id` varchar(255) NULL DEFAULT NULL COMMENT '退款交易流水号' AFTER `refund_status`;
|
||||
|
||||
|
||||
INSERT INTO `la_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\":\"\"}', '/resource/image/adminapi/default/ali_pay.png', 123, '支付宝支付');
|
||||
|
||||
INSERT INTO `la_dev_pay_way`(`id`, `pay_config_id`, `scene`, `is_default`, `status`) VALUES (7, 3, 3, 0, 1);
|
||||
|
||||
|
||||
UPDATE `la_decorate_tabbar` SET `name` = '首页', `selected` = 'resource/image/adminapi/default/tabbar_home_sel.png', `unselected` = 'resource/image/adminapi/default/tabbar_home.png', `link` = '{\"path\":\"/pages/index/index\",\"name\":\"商城首页\",\"type\":\"shop\"}', `is_show` = 1, `create_time` = 1662688157, `update_time` = 1662688157 WHERE `id` = 1;
|
||||
|
||||
UPDATE `la_decorate_tabbar` SET `name` = '资讯', `selected` = 'resource/image/adminapi/default/tabbar_text_sel.png', `unselected` = 'resource/image/adminapi/default/tabbar_text.png', `link` = '{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\",\"canTab\":\"1\"}', `is_show` = 1, `create_time` = 1662688157, `update_time` = 1662688157 WHERE `id` = 2;
|
||||
|
||||
UPDATE `la_decorate_tabbar` SET `name` = '我的', `selected` = 'resource/image/adminapi/default/tabbar_me_sel.png', `unselected` = 'resource/image/adminapi/default/tabbar_me.png', `link` = '{\"path\":\"/pages/user/user\",\"name\":\"个人中心\",\"type\":\"shop\",\"canTab\":\"1\"}', `is_show` = 1, `create_time` = 1662688157, `update_time` = 1662688157 WHERE `id` = 3;
|
||||
|
||||
|
||||
INSERT INTO `la_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);
|
||||
|
||||
UPDATE `la_decorate_page` SET `type` = 1, `name` = '商城首页', `data` = '[{\"title\":\"搜索\",\"name\":\"search\",\"disabled\":1,\"content\":{},\"styles\":{}},{\"title\":\"首页轮播图\",\"name\":\"banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/resource/image/adminapi/default/banner001.png\",\"name\":\"\",\"link\":{\"id\":6,\"name\":\"来自瓷器的爱\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":6},\"type\":\"article\"},\"is_show\":\"1\",\"bg\":\"/resource/image/adminapi/default/banner001_bg.png\"},{\"image\":\"/resource/image/adminapi/default/banner002.png\",\"name\":\"\",\"link\":{\"id\":3,\"name\":\"金山电池公布“沪广深市民绿色生活方式”调查结果\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":3},\"type\":\"article\"},\"is_show\":\"1\",\"bg\":\"/resource/image/adminapi/default/banner002_bg.png\"},{\"is_show\":\"1\",\"image\":\"/resource/image/adminapi/default/banner003.png\",\"name\":\"\",\"link\":{\"id\":1,\"name\":\"让生活更精致!五款居家好物推荐,实用性超高\",\"path\":\"/pages/news_detail/news_detail\",\"query\":{\"id\":1},\"type\":\"article\"},\"bg\":\"/resource/image/adminapi/default/banner003_bg.png\"}],\"style\":1,\"bg_style\":1},\"styles\":{}},{\"title\":\"导航菜单\",\"name\":\"nav\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/resource/image/adminapi/default/nav01.png\",\"name\":\"资讯中心\",\"link\":{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\",\"canTab\":true},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/nav03.png\",\"name\":\"个人设置\",\"link\":{\"path\":\"/pages/user_set/user_set\",\"name\":\"个人设置\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/nav02.png\",\"name\":\"我的收藏\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/nav05.png\",\"name\":\"关于我们\",\"link\":{\"path\":\"/pages/as_us/as_us\",\"name\":\"关于我们\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/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\":\"/resource/image/adminapi/default/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\":{}}]', `meta` = '[{\"title\":\"页面设置\",\"name\":\"page-meta\",\"content\":{\"title\":\"首页\",\"bg_type\":\"2\",\"bg_color\":\"#2F80ED\",\"bg_image\":\"/resource/image/adminapi/default/page_meta_bg01.png\",\"text_color\":\"2\",\"title_type\":\"2\",\"title_img\":\"/resource/image/adminapi/default/page_mate_title.png\"},\"styles\":{}}]', `create_time` = 1661757188, `update_time` = 1710989700 WHERE `id` = 1;
|
||||
|
||||
UPDATE `la_decorate_page` SET `type` = 2, `name` = '个人中心', `data` = '[{\"title\":\"用户信息\",\"name\":\"user-info\",\"disabled\":1,\"content\":{},\"styles\":{}},{\"title\":\"我的服务\",\"name\":\"my-service\",\"content\":{\"style\":1,\"title\":\"我的服务\",\"data\":[{\"image\":\"/resource/image/adminapi/default/user_collect.png\",\"name\":\"我的收藏\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/user_setting.png\",\"name\":\"个人设置\",\"link\":{\"path\":\"/pages/user_set/user_set\",\"name\":\"个人设置\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/user_kefu.png\",\"name\":\"联系客服\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/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\":\"/resource/image/adminapi/default/user_ad01.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"},{\"image\":\"/resource/image/adminapi/default/user_ad02.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/customer_service/customer_service\",\"name\":\"联系客服\",\"type\":\"shop\"},\"is_show\":\"1\"}]},\"styles\":{}}]', `meta` = '[{\"title\":\"页面设置\",\"name\":\"page-meta\",\"content\":{\"title\":\"个人中心\",\"bg_type\":\"1\",\"bg_color\":\"#2F80ED\",\"bg_image\":\"\",\"text_color\":\"1\",\"title_type\":\"2\",\"title_img\":\"/resource/image/adminapi/default/page_mate_title.png\"},\"styles\":{}}]', `create_time` = 1661757188, `update_time` = 1710933097 WHERE `id` = 2;
|
||||
|
||||
UPDATE `la_decorate_page` SET `type` = 3, `name` = '客服设置', `data` = '[{\"title\":\"客服设置\",\"name\":\"customer-service\",\"content\":{\"title\":\"添加客服二维码\",\"time\":\"早上 9:30 - 19:00\",\"mobile\":\"18578768757\",\"qrcode\":\"/resource/image/adminapi/default/kefu01.png\",\"remark\":\"长按添加客服或拨打客服热线\"},\"styles\":{}}]', `meta` = '', `create_time` = 1661757188, `update_time` = 1710929953 WHERE `id` = 3;
|
||||
|
||||
UPDATE `la_decorate_page` SET `type` = 4, `name` = 'PC设置', `data` = '[{\"id\":\"lajcn8d0hzhed\",\"title\":\"首页轮播图\",\"name\":\"pc-banner\",\"content\":{\"enabled\":1,\"data\":[{\"image\":\"/resource/image/adminapi/default/banner003.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/news/news\",\"name\":\"文章资讯\",\"type\":\"shop\"}},{\"image\":\"/resource/image/adminapi/default/banner002.png\",\"name\":\"\",\"link\":{\"path\":\"/pages/collection/collection\",\"name\":\"我的收藏\",\"type\":\"shop\"}},{\"image\":\"/resource/image/adminapi/default/banner001.png\",\"name\":\"\",\"link\":{}}]},\"styles\":{\"position\":\"absolute\",\"left\":\"40\",\"top\":\"75px\",\"width\":\"750px\",\"height\":\"340px\"}}]', `meta` = '', `create_time` = 1661757188, `update_time` = 1710990175 WHERE `id` = 4;
|
||||
|
||||
|
||||
INSERT INTO `la_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', '', '', 0, 1, 0, 1681635044, 1710929278);
|
||||
|
||||
INSERT INTO `la_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', '', '', 0, 1, 0, 1710734367, 1710734392);
|
||||
|
||||
INSERT INTO `la_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 `la_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);
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '权限管理', `icon` = 'el-icon-Lock', `sort` = 300, `perms` = '', `paths` = 'permission', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1656664556, `update_time` = 1710472802 WHERE `id` = 4;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 4, `type` = 'C', `name` = '菜单', `icon` = 'el-icon-Operation', `sort` = 100, `perms` = 'auth.menu/lists', `paths` = 'menu', `component` = 'permission/menu/index', `selected` = '', `params` = '', `is_cache` = 1, `is_show` = 1, `is_disable` = 0, `create_time` = 1656664960, `update_time` = 1710472994 WHERE `id` = 6;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 4, `type` = 'C', `name` = '管理员', `icon` = 'local-icon-shouyiren', `sort` = 80, `perms` = 'auth.admin/lists', `paths` = 'admin', `component` = 'permission/admin/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1656901567, `update_time` = 1710473013 WHERE `id` = 7;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 4, `type` = 'C', `name` = '角色', `icon` = 'el-icon-Female', `sort` = 90, `perms` = 'auth.role/lists', `paths` = 'role', `component` = 'permission/role/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1656901660, `update_time` = 1710473000 WHERE `id` = 8;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'M', `name` = '开发工具', `icon` = 'el-icon-EditPen', `sort` = 40, `perms` = '', `paths` = 'dev_tools', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657097744, `update_time` = 1710473127 WHERE `id` = 23;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '组织管理', `icon` = 'el-icon-OfficeBuilding', `sort` = 400, `perms` = '', `paths` = 'organization', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657099914, `update_time` = 1710472797 WHERE `id` = 25;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 25, `type` = 'C', `name` = '部门管理', `icon` = 'el-icon-Coordinate', `sort` = 100, `perms` = 'dept.dept/lists', `paths` = 'department', `component` = 'organization/department/index', `selected` = '', `params` = '', `is_cache` = 1, `is_show` = 1, `is_disable` = 0, `create_time` = 1657099989, `update_time` = 1710472962 WHERE `id` = 26;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 25, `type` = 'C', `name` = '岗位管理', `icon` = 'el-icon-PriceTag', `sort` = 90, `perms` = 'dept.jobs/lists', `paths` = 'post', `component` = 'organization/post/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657100044, `update_time` = 1710472967 WHERE `id` = 27;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '系统设置', `icon` = 'el-icon-Setting', `sort` = 200, `perms` = '', `paths` = 'setting', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657100164, `update_time` = 1710472807 WHERE `id` = 28;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'M', `name` = '网站设置', `icon` = 'el-icon-Basketball', `sort` = 100, `perms` = '', `paths` = 'website', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657100230, `update_time` = 1710473049 WHERE `id` = 29;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'C', `name` = '存储设置', `icon` = 'el-icon-FolderOpened', `sort` = 70, `perms` = 'setting.storage/lists', `paths` = 'storage', `component` = 'setting/storage/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657160959, `update_time` = 1710473095 WHERE `id` = 33;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'M', `name` = '系统维护', `icon` = 'el-icon-SetUp', `sort` = 50, `perms` = '', `paths` = 'system', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657161569, `update_time` = 1710473122 WHERE `id` = 35;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 35, `type` = 'C', `name` = '系统日志', `icon` = '', `sort` = 90, `perms` = 'setting.system.log/lists', `paths` = 'journal', `component` = 'setting/system/journal', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657161696, `update_time` = 1710473253 WHERE `id` = 36;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 35, `type` = 'C', `name` = '系统缓存', `icon` = '', `sort` = 80, `perms` = '', `paths` = 'cache', `component` = 'setting/system/cache', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657161896, `update_time` = 1710473258 WHERE `id` = 37;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 35, `type` = 'C', `name` = '系统环境', `icon` = '', `sort` = 70, `perms` = 'setting.system.system/info', `paths` = 'environment', `component` = 'setting/system/environment', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657162000, `update_time` = 1710473265 WHERE `id` = 38;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 158, `type` = 'M', `name` = '素材管理', `icon` = 'el-icon-Picture', `sort` = 0, `perms` = '', `paths` = 'material', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1657507133, `update_time` = 1710472243 WHERE `id` = 63;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 158, `type` = 'M', `name` = '文章资讯', `icon` = 'el-icon-ChatLineSquare', `sort` = 90, `perms` = '', `paths` = 'article', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663749965, `update_time` = 1710471867 WHERE `id` = 70;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '渠道设置', `icon` = 'el-icon-Message', `sort` = 500, `perms` = '', `paths` = 'channel', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663754084, `update_time` = 1710472649 WHERE `id` = 82;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 82, `type` = 'C', `name` = 'h5设置', `icon` = 'el-icon-Cellphone', `sort` = 100, `perms` = 'channel.web_page_setting/getConfig', `paths` = 'h5', `component` = 'channel/h5', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663754158, `update_time` = 1710472929 WHERE `id` = 83;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 82, `type` = 'M', `name` = '微信公众号', `icon` = 'local-icon-dingdan', `sort` = 80, `perms` = '', `paths` = 'wx_oa', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663755470, `update_time` = 1710472946 WHERE `id` = 85;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 82, `type` = 'C', `name` = '微信小程序', `icon` = 'local-icon-weixin', `sort` = 90, `perms` = 'channel.mnp_settings/getConfig', `paths` = 'weapp', `component` = 'channel/weapp', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663831396, `update_time` = 1710472941 WHERE `id` = 94;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '装修管理', `icon` = 'el-icon-Brush', `sort` = 600, `perms` = '', `paths` = 'decoration', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663834825, `update_time` = 1710472099 WHERE `id` = 96;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 175, `type` = 'C', `name` = '页面装修', `icon` = 'el-icon-CopyDocument', `sort` = 100, `perms` = 'decorate.page/detail', `paths` = 'pages', `component` = 'decoration/pages/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663834879, `update_time` = 1710929256 WHERE `id` = 97;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 175, `type` = 'C', `name` = '底部导航', `icon` = 'el-icon-Position', `sort` = 90, `perms` = 'decorate.tabbar/detail', `paths` = 'tabbar', `component` = 'decoration/tabbar', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663835004, `update_time` = 1710929262 WHERE `id` = 99;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 158, `type` = 'M', `name` = '消息管理', `icon` = 'el-icon-ChatDotRound', `sort` = 80, `perms` = '', `paths` = 'message', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663838602, `update_time` = 1710471874 WHERE `id` = 101;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'C', `name` = '热门搜索', `icon` = 'el-icon-Search', `sort` = 60, `perms` = 'setting.hot_search/getConfig', `paths` = 'search', `component` = 'setting/search/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663901821, `update_time` = 1710473109 WHERE `id` = 110;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'M', `name` = '用户设置', `icon` = 'local-icon-keziyuyue', `sort` = 90, `perms` = '', `paths` = 'user', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663903302, `update_time` = 1710473056 WHERE `id` = 112;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '用户管理', `icon` = 'el-icon-User', `sort` = 900, `perms` = '', `paths` = 'consumer', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663904351, `update_time` = 1710472074 WHERE `id` = 117;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 117, `type` = 'C', `name` = '用户列表', `icon` = 'local-icon-user_guanli', `sort` = 100, `perms` = 'user.user/lists', `paths` = 'lists', `component` = 'consumer/lists/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1663904392, `update_time` = 1710471845 WHERE `id` = 118;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 117, `type` = 'C', `name` = '用户详情', `icon` = '', `sort` = 90, `perms` = 'user.user/detail', `paths` = 'lists/detail', `component` = 'consumer/lists/detail', `selected` = '/consumer/lists', `params` = '', `is_cache` = 0, `is_show` = 0, `is_disable` = 0, `create_time` = 1663904470, `update_time` = 1710471851 WHERE `id` = 119;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 82, `type` = 'C', `name` = '微信开发平台', `icon` = 'local-icon-notice_buyer', `sort` = 70, `perms` = 'channel.open_setting/getConfig', `paths` = 'open_setting', `component` = 'channel/open_setting', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1666085713, `update_time` = 1710472951 WHERE `id` = 140;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 176, `type` = 'C', `name` = 'PC端装修', `icon` = 'el-icon-Monitor', `sort` = 8, `perms` = '', `paths` = 'pc', `component` = 'decoration/pc', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1668423284, `update_time` = 1710901602 WHERE `id` = 142;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 35, `type` = 'C', `name` = '定时任务', `icon` = '', `sort` = 100, `perms` = 'crontab.crontab/lists', `paths` = 'scheduled_task', `component` = 'setting/system/scheduled_task/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1669357509, `update_time` = 1710473246 WHERE `id` = 143;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '模板示例', `icon` = 'el-icon-SetUp', `sort` = 100, `perms` = '', `paths` = 'template', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670206819, `update_time` = 1710472811 WHERE `id` = 148;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '富文本', `icon` = '', `sort` = 90, `perms` = '', `paths` = 'rich_text', `component` = 'template/component/rich_text', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670207751, `update_time` = 1710473315 WHERE `id` = 150;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '上传文件', `icon` = '', `sort` = 80, `perms` = '', `paths` = 'upload', `component` = 'template/component/upload', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670208925, `update_time` = 1710473322 WHERE `id` = 151;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '图标', `icon` = '', `sort` = 100, `perms` = '', `paths` = 'icon', `component` = 'template/component/icon', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670230069, `update_time` = 1710473306 WHERE `id` = 152;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '文件选择器', `icon` = '', `sort` = 60, `perms` = '', `paths` = 'file', `component` = 'template/component/file', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670232129, `update_time` = 1710473341 WHERE `id` = 153;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '链接选择器', `icon` = '', `sort` = 50, `perms` = '', `paths` = 'link', `component` = 'template/component/link', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670292636, `update_time` = 1710473346 WHERE `id` = 154;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '超出自动打点', `icon` = '', `sort` = 40, `perms` = '', `paths` = 'overflow', `component` = 'template/component/overflow', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670292883, `update_time` = 1710473351 WHERE `id` = 155;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 149, `type` = 'C', `name` = '悬浮input', `icon` = '', `sort` = 70, `perms` = '', `paths` = 'popover_input', `component` = 'template/component/popover_input', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1670293336, `update_time` = 1710473329 WHERE `id` = 156;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '应用管理', `icon` = 'el-icon-Postcard', `sort` = 800, `perms` = '', `paths` = 'app', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677143430, `update_time` = 1710472079 WHERE `id` = 158;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 158, `type` = 'C', `name` = '用户充值', `icon` = 'local-icon-fukuan', `sort` = 100, `perms` = 'recharge.recharge/getConfig', `paths` = 'recharge', `component` = 'app/recharge/index', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677144284, `update_time` = 1710471860 WHERE `id` = 159;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 28, `type` = 'M', `name` = '支付设置', `icon` = 'local-icon-set_pay', `sort` = 80, `perms` = '', `paths` = 'pay', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677148075, `update_time` = 1710473061 WHERE `id` = 161;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 0, `type` = 'M', `name` = '财务管理', `icon` = 'local-icon-user_gaikuang', `sort` = 700, `perms` = '', `paths` = 'finance', `component` = '', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677552269, `update_time` = 1710472085 WHERE `id` = 166;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 166, `type` = 'C', `name` = '充值记录', `icon` = 'el-icon-Wallet', `sort` = 90, `perms` = 'recharge.recharge/lists', `paths` = 'recharge_record', `component` = 'finance/recharge_record', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677552757, `update_time` = 1710472902 WHERE `id` = 167;
|
||||
|
||||
UPDATE `la_system_menu` SET `pid` = 166, `type` = 'C', `name` = '余额明细', `icon` = 'local-icon-qianbao', `sort` = 100, `perms` = 'finance.account_log/lists', `paths` = 'balance_details', `component` = 'finance/balance_details', `selected` = '', `params` = '', `is_cache` = 0, `is_show` = 1, `is_disable` = 0, `create_time` = 1677552976, `update_time` = 1710472894 WHERE `id` = 168;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
5
sql/1.8.0.20240806/sql更新内容.txt
Normal file
5
sql/1.8.0.20240806/sql更新内容.txt
Normal file
@ -0,0 +1,5 @@
|
||||
1.8.0
|
||||
|
||||
表结构调整
|
||||
la_admin
|
||||
la_operation_log
|
||||
7
sql/1.8.0.20240806/update.sql
Normal file
7
sql/1.8.0.20240806/update.sql
Normal file
@ -0,0 +1,7 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `la_admin` MODIFY COLUMN `login_ip` varchar(39) NULL DEFAULT '' COMMENT '最后登录ip' AFTER `login_time`;
|
||||
|
||||
ALTER TABLE `la_operation_log` MODIFY COLUMN `ip` varchar(39) NOT NULL DEFAULT '' COMMENT 'ip地址' AFTER `result`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
Reference in New Issue
Block a user