1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 03:50:56 +08:00
2020-04-21 19:23:20 +08:00

25 lines
383 B
PHP

<?php
namespace App\Services\Frontend;
use App\Validators\User as UserValidator;
trait UserTrait
{
public function checkUser($id)
{
$validator = new UserValidator();
return $validator->checkUser($id);
}
public function checkUserCache($id)
{
$validator = new UserValidator();
return $validator->checkUserCache($id);
}
}