修改错误

This commit is contained in:
小松树 committed 2021-02-21 21:36:01 +08:00
1 parent 455d054097
commit 36d6c08ea7
8 files changed
+43 -20

No files matched your search

+2 -2
View File
@@ -134,8 +134,8 @@ class Rule extends Seeder
],
// 占位
['id' => 10701
,'title' => '占位'
,'name' => 'zaixian1'
,'title' => '编辑'
,'name' => 'luru/index/onlineedit'
,'paixu' => 1
,'pid' => 107
],
+1 -6
View File
@@ -1221,12 +1221,7 @@ class TongjiXingmu extends Seeder
// ]
];
$serRows = $this->fetchAll('select * from cj_tongji_xiangmu');
if(is_array($serRows) && count($serRows) > 0)
{
$rows = [];
return true;
}
$this->execute('DELETE FROM cj_tongji_xiangmu where id>0');
// 保存数据
$this->table('tongji_xiangmu')->insert($rows)->save();