1、修复栏目管理内生成导航bug

2、修复api接口bug
This commit is contained in:
2020-04-27 08:52:07 +08:00
parent 246c95d956
commit 76254dc394
4 changed files with 37 additions and 142 deletions

View File

@@ -159,6 +159,8 @@ DROP TABLE IF EXISTS `sent_auth_group_access`;
CREATE TABLE `sent_auth_group_access` (
`uid` int(10) unsigned NOT NULL COMMENT '用户id',
`group_id` mediumint(8) unsigned NOT NULL COMMENT '用户组id',
`data_auth` text COMMENT '数据权限',
`api_auth` text COMMENT '接口权限',
UNIQUE KEY `uid_group_id` (`uid`,`group_id`),
KEY `uid` (`uid`),
KEY `group_id` (`group_id`)
@@ -524,6 +526,14 @@ CREATE TABLE `sent_member_extend_setting` (
DROP TABLE IF EXISTS `sent_member_log`;
CREATE TABLE `sent_member_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT '0' COMMENT '操作用户',
`title` varchar(100) NOT NULL DEFAULT '' COMMENT '操作名称',
`method` varchar(20) NOT NULL DEFAULT 'GET' COMMENT '操作类型',
`url` varchar(150) NOT NULL DEFAULT '' COMMENT '操作地址',
`param` varchar(150) NOT NULL DEFAULT '' COMMENT '操作参数',
`client_ip` varchar(30) NOT NULL DEFAULT '' COMMENT '客户端IP',
`visite_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '访问时间',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户日志表';