1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 20:00:27 +08:00
2020-05-11 19:50:28 +08:00

25 lines
403 B
PHP

<?php
namespace App\Services\Frontend;
use App\Validators\Refund as RefundValidator;
trait RefundTrait
{
public function checkRefundById($id)
{
$validator = new RefundValidator();
return $validator->checkRefund($id);
}
public function checkRefundBySn($id)
{
$validator = new RefundValidator();
return $validator->checkRefundBySn($id);
}
}