1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-22 11:41:27 +08:00
2020-09-17 21:29:29 +08:00

25 lines
380 B
PHP

<?php
namespace App\Services\Logic;
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);
}
}