diff --git a/app/admin/model/AuthGroupAccess.php b/app/admin/model/AuthGroupAccess.php
index e863f4ec..bc7b6a31 100755
--- a/app/admin/model/AuthGroupAccess.php
+++ b/app/admin/model/AuthGroupAccess.php
@@ -2,11 +2,11 @@
namespace app\admin\model;
+// 引用用户数据模型
// 引用用户数据模型
use app\BaseModel;
-use think\model\Pivot;
-class AuthGroupAccess extends Pivot
+class AuthGroupAccess extends BaseModel
{
// 设置字段信息
protected $schema = [
@@ -18,9 +18,6 @@ class AuthGroupAccess extends Pivot
,'delete_time' => 'int'
];
- // 开启软删除
- use \think\model\concern\SoftDelete;
- protected $deleteTime = 'delete_time';
// 根据角色ID查询用户
public function search($srcfrom)
@@ -90,4 +87,4 @@ class AuthGroupAccess extends Pivot
{
return $this->belongsTo(Admin::class, 'uid', 'id');
}
-}
\ No newline at end of file
+}
diff --git a/app/index/view/index/index.html b/app/index/view/index/index.html
index f88b7421..f5b2d378 100755
--- a/app/index/view/index/index.html
+++ b/app/index/view/index/index.html
@@ -21,7 +21,7 @@