初始化

缺陷:主题配色需要优化整体的同风格
This commit is contained in:
2026-08-14 23:21:21 +08:00
parent 6e2769c528
commit bcf54c2727
152 changed files with 13521 additions and 141 deletions

View File

@@ -17,7 +17,7 @@ class AdminController extends BaseController
$this->service = AdminService::getInstance();
$this->insertField = [ 'phone', 'nick_name', 'password', 'role_id' ];
$this->updateField = [ 'id', 'phone', 'nick_name', 'role_id' ];
$this->notRequest = ['qr_code', 'avatar', 'email', 'status'];
$this->notRequest = ['qr_code', 'avatar', 'email', 'status', 'department_id', 'desc'];
}
/**
@@ -115,7 +115,9 @@ class AdminController extends BaseController
}
/**
* 获取菜单列表
* 获取当前账号的权限码
*
* 码由接口路径推导admin/list admin:list),前端 v-access TableAction auth 用的就是它。
* @Method GET
* @return JsonResponse
* @throws Exception
@@ -123,7 +125,7 @@ class AdminController extends BaseController
public function codes(): JsonResponse
{
return jok(
[],
$this->service->codes(),
'获取成功'
);
}