mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 20:52:44 +08:00
25 lines
416 B
PHP
25 lines
416 B
PHP
<?php
|
|
|
|
namespace App\Services\Logic;
|
|
|
|
use App\Validators\Question as QuestionValidator;
|
|
|
|
trait QuestionTrait
|
|
{
|
|
|
|
public function checkQuestion($id)
|
|
{
|
|
$validator = new QuestionValidator();
|
|
|
|
return $validator->checkQuestion($id);
|
|
}
|
|
|
|
public function checkQuestionCache($id)
|
|
{
|
|
$validator = new QuestionValidator();
|
|
|
|
return $validator->checkQuestionCache($id);
|
|
}
|
|
|
|
}
|