整理表结构。

This commit is contained in:
巴掌 committed 2021-01-07 16:15:27 +08:00
1 parent 1190dfa5e0
commit 2f3a653aa4
31 files changed
+84 -29

No files matched your search

+4
View File
@@ -41,6 +41,7 @@ class Index extends AdminBase
,'field' => 'id'
,'order' => 'desc'
,'searchval' => ''
,'user_group' => 'admin'
], 'POST');
// 根据条件查询数据
$ks = new KS;
@@ -101,6 +102,9 @@ class Index extends AdminBase
if(!$result){
return json(['msg' => $msg, 'val' => 0]);
}
$list['user_id'] = session('user_id');
$list['user_group'] = 'admin';
// $list['jibie_id'] = 1;
// 保存数据
$ks = new KS();
@@ -26,7 +26,7 @@ class SystemBase extends Migrator
* Remember to call "create()" or "update()" and NOT "save()" when working
* with the Table class.
*/
public function up()
public function change()
{
// 定义表的名称
$table = $this->table('system_base');
@@ -26,7 +26,7 @@ class AuthGroup extends Migrator
* Remember to call "create()" or "update()" and NOT "save()" when working
* with the Table class.
*/
public function up()
public function change()
{
// 定义数据表名称
$table = $this->table('auth_group');
Loaded 3 of 31 files, more files were not shown because too many files have changed in this diff. Show more