feat : catering

This commit is contained in:
2025-03-10 16:52:23 +08:00
parent c21fc1ef90
commit 2e67b921bd
14 changed files with 598 additions and 54 deletions

View File

@@ -29,9 +29,9 @@ trait GetUserInfoTrait
/**
* 单例获取用户信息
* @param $adminId
* @return false|Builder|Model|mixed|string
* @return AdminUser|false|Model|null
*/
protected function getUserInfo($adminId): mixed
protected function getUserInfo($adminId): AdminUser|Model|false|null
{
$key = 'admin_id:' . $adminId;
if (Context::has($key)) {