first commit

This commit is contained in:
675061370@qq.com
2024-04-04 21:28:09 +08:00
commit fe9661855e
4192 changed files with 618218 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
<?php
namespace app\admin\controller;
use think\App;
use app\admin\QfShop;
use app\model\Auth as AuthModel;
class Auth extends QfShop
{
public function __construct(App $app)
{
parent::__construct($app);
//筛选字段
$this->searchFilter = [
"auth_id" => "=", //相同筛选
];
$this->model = new AuthModel();
}
/**
* 清除访问日志
*
* @return void
*/
public function clean()
{
$error = $this->access();
if ($error) {
return $error;
}
$this->model->cleanAuth();
return jok('授权信息清理成功');
}
}