mirror of https://gitee.com/karson/fastadmin.git
parent
cd17735bef
commit
74394293f0
|
|
@ -13,3 +13,4 @@ composer.lock
|
|||
*.css.map
|
||||
!.gitkeep
|
||||
.env
|
||||
/.svn
|
||||
|
|
|
|||
|
|
@ -603,6 +603,8 @@ class Crud extends Command
|
|||
$attrArr['data-params'] = '##replacetext##';
|
||||
$search = '"##replacetext##"';
|
||||
$replace = '\'{"custom[type]":"' . $table . '"}\'';
|
||||
} elseif ($selectpageController == 'admin') {
|
||||
$attrArr['data-source'] = 'auth/admin/selectpage';
|
||||
}
|
||||
if ($this->isMatchSuffix($field, $this->selectpagesSuffix)) {
|
||||
$attrArr['data-multiple'] = 'true';
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ CREATE TABLE `fa_admin_log` (
|
|||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`admin_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID',
|
||||
`username` varchar(30) NOT NULL DEFAULT '' COMMENT '管理员名字',
|
||||
`url` varchar(255) NOT NULL DEFAULT '' COMMENT '操作页面',
|
||||
`url` varchar(2000) NOT NULL DEFAULT '' COMMENT '操作页面',
|
||||
`title` varchar(100) NOT NULL DEFAULT '' COMMENT '日志标题',
|
||||
`content` text NOT NULL COMMENT '内容',
|
||||
`ip` varchar(50) NOT NULL DEFAULT '' COMMENT 'IP',
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ class Admin extends Backend
|
|||
/**
|
||||
* 下拉搜索
|
||||
*/
|
||||
protected function selectpage()
|
||||
public function selectpage()
|
||||
{
|
||||
$this->dataLimit = 'auth';
|
||||
$this->dataLimitField = 'id';
|
||||
|
|
|
|||
Loading…
Reference in New Issue