1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 04:21:27 +08:00
2020-05-18 20:25:50 +08:00

25 lines
383 B
PHP

<?php
namespace App\Services\Frontend;
use App\Validators\Page as PageValidator;
trait PageTrait
{
public function checkPage($id)
{
$validator = new PageValidator();
return $validator->checkPage($id);
}
public function checkPageCache($id)
{
$validator = new PageValidator();
return $validator->checkPageCache($id);
}
}