7 行
426 B
SQL
7 行
426 B
SQL
INSERT INTO `fa_auth_rule` (`type`, `pid`, `name`, `title`, `icon`, `url`, `condition`, `remark`, `ismenu`, `menutype`, `extend`, `createtime`, `updatetime`, `weigh`, `status`)
|
|
SELECT 'file', 67, 'user/user/resetpwd', '重置密码', 'fa fa-circle-o', '', '', '', 0, NULL, '', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 0, 'normal'
|
|
FROM DUAL
|
|
WHERE NOT EXISTS (
|
|
SELECT 1 FROM `fa_auth_rule` WHERE `name` = 'user/user/resetpwd'
|
|
);
|