mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
feat: 发布智能体版
This commit is contained in:
@@ -50,7 +50,7 @@ class IndexBase extends AdminController
|
||||
*/
|
||||
public function editAdmin()
|
||||
{
|
||||
$id = $this->sessionAdmin->id;
|
||||
$id = $this->getAdminId();
|
||||
$row = (new SystemAdmin())
|
||||
->withoutField('password')
|
||||
->find($id);
|
||||
@@ -96,7 +96,7 @@ class IndexBase extends AdminController
|
||||
*/
|
||||
public function editPassword()
|
||||
{
|
||||
$id = $this->sessionAdmin->id;
|
||||
$id = $this->getAdminId();
|
||||
$row = (new SystemAdmin())
|
||||
->withoutField('password')
|
||||
->find($id);
|
||||
@@ -140,7 +140,7 @@ class IndexBase extends AdminController
|
||||
{
|
||||
$pid = $this->request->param('pid', 0);
|
||||
|
||||
$menuService = new MenuService($this->sessionAdmin->id);
|
||||
$menuService = new MenuService($this->getAdminId());
|
||||
|
||||
$home_info = $menuService->getHomeInfo();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user