| | |
| | | ALTER TABLE gen_table ADD COLUMN data_name varchar(200) NULL DEFAULT '' COMMENT '数据源名称' AFTER table_id; |
| | | |
| | | UPDATE sys_menu SET path = 'powerjob', component = 'monitor/powerjob/index', perms = 'monitor:powerjob:list', remark = 'powerjob控制台菜单' WHERE menu_id = 120 |
| | | UPDATE sys_menu SET path = 'powerjob', component = 'monitor/powerjob/index', perms = 'monitor:powerjob:list', remark = 'powerjob控制台菜单' WHERE menu_id = 120; |
| | | |
| | | -- ---------------------------- |
| | | -- 第三方平台授权表 |
| | |
| | | id bigint not null comment '主键', |
| | | user_id bigint not null comment '用户ID', |
| | | tenant_id varchar(20) default null comment '租户id', |
| | | auth_id varchar(255) not null comment '授权+授权openid', |
| | | auth_id varchar(255) not null comment '平台+平台唯一id', |
| | | source varchar(255) not null comment '用户来源', |
| | | open_id varchar(255) default null comment '原生open id', |
| | | open_id varchar(255) default null comment '平台编号唯一id', |
| | | user_name varchar(30) not null comment '登录账号', |
| | | nick_name varchar(30) default '' comment '用户昵称', |
| | | email varchar(255) default '' comment '用户邮箱', |
| | |
| | | del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', |
| | | PRIMARY KEY (id) |
| | | ) engine=innodb comment = '社会化关系表'; |
| | | |
| | | |
| | | -- ---------------------------- |
| | | -- 系统授权表 |
| | |
| | | insert into sys_dict_data values(36, '000000', 0, 'APP端', 'app', 'sys_device_type', '', 'default', 'N', '0', 103, 1, sysdate(), null, null, 'APP端'); |
| | | |
| | | -- 二级菜单 |
| | | insert into sys_menu values('123', '客户端管理', '1', '1', 'client', 'system/client/index', '', 1, 0, 'C', '0', '0', 'system:client:list', 'international', 103, 1, sysdate(), null, null, '客户端管理菜单'); |
| | | insert into sys_menu values('123', '客户端管理', '1', '11', 'client', 'system/client/index', '', 1, 0, 'C', '0', '0', 'system:client:list', 'international', 103, 1, sysdate(), null, null, '客户端管理菜单'); |
| | | -- 客户端管理按钮 |
| | | insert into sys_menu values('1061', '客户端管理查询', '123', '1', '#', '', '', 1, 0, 'F', '0', '0', 'system:client:query', '#', 103, 1, sysdate(), null, null, ''); |
| | | insert into sys_menu values('1062', '客户端管理新增', '123', '2', '#', '', '', 1, 0, 'F', '0', '0', 'system:client:add', '#', 103, 1, sysdate(), null, null, ''); |