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
389 B
PHP

<?php
namespace App\Services\Logic;
use App\Validators\Topic as TopicValidator;
trait TopicTrait
{
public function checkTopic($id)
{
$validator = new TopicValidator();
return $validator->checkTopic($id);
}
public function checkTopicCache($id)
{
$validator = new TopicValidator();
return $validator->checkTopicCache($id);
}
}