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

25 lines
392 B
PHP

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