1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-22 11:41:27 +08:00
2020-09-17 21:29:29 +08:00

25 lines
391 B
PHP

<?php
namespace App\Services\Logic;
use App\Validators\Trade as TradeValidator;
trait TradeTrait
{
public function checkTradeById($id)
{
$validator = new TradeValidator();
return $validator->checkTrade($id);
}
public function checkTradeBySn($id)
{
$validator = new TradeValidator();
return $validator->checkTradeBySn($id);
}
}