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