AI代码生成工具
This commit is contained in:
@@ -73,6 +73,33 @@ class AdminController extends BaseController
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人中心更新资料
|
||||
* @Method POST
|
||||
*/
|
||||
public function updateProfile(): JsonResponse
|
||||
{
|
||||
return jok($this->service->updateProfile(request()->post()), '保存成功');
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人中心:登录日志
|
||||
* @Method GET
|
||||
*/
|
||||
public function loginLog(): JsonResponse
|
||||
{
|
||||
return jok($this->service->loginLogList(), '获取成功');
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人中心:操作日志
|
||||
* @Method GET
|
||||
*/
|
||||
public function opLog(): JsonResponse
|
||||
{
|
||||
return jok($this->service->opLogList(), '获取成功');
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取菜单列表
|
||||
* @Method GET
|
||||
|
||||
Reference in New Issue
Block a user