mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 10:32:48 +08:00
去除大多数文件的外部功能依赖;
This commit is contained in:
@@ -9,7 +9,6 @@ use app\admin\service\ConfigService;
|
||||
use app\BaseController;
|
||||
use app\common\constants\AdminConstant;
|
||||
use app\common\service\AuthService;
|
||||
use EasyAdmin\tool\CommonTool;
|
||||
use think\facade\Env;
|
||||
use think\facade\View;
|
||||
use think\Model;
|
||||
@@ -208,7 +207,7 @@ class AdminController extends BaseController
|
||||
$excludes = [];
|
||||
|
||||
// 判断是否关联查询
|
||||
$tableName = CommonTool::humpToLine(lcfirst($this->model->getName()));
|
||||
$tableName = \think\helper\Str::snake(lcfirst($this->model->getName()));
|
||||
|
||||
foreach ($filters as $key => $val) {
|
||||
if (in_array($key, $excludeFields)) {
|
||||
|
||||
Reference in New Issue
Block a user