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

25 lines
400 B
PHP

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