feat : catering
This commit is contained in:
@@ -69,9 +69,9 @@ class AdminUser extends Model
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @return \Hyperf\Database\Model\Model|Builder|null
|
||||
* @return \Hyperf\Database\Model\Model|null
|
||||
*/
|
||||
public function getAdminInfoById(int $id): \Hyperf\Database\Model\Model|Builder|null
|
||||
public function getAdminInfoById(int $id): \Hyperf\Database\Model\Model|null
|
||||
{
|
||||
return $this->where('id', $id)->where('is_del',UserCode::IS_NO_DEL)->first();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user