2020-09-17 15:17:22 +08:00
|
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | CatchAdmin [Just Like ~ ]
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Author: JaguarJack [ njphper@gmail.com ]
|
|
|
|
|
// +----------------------------------------------------------------------
|
2020-09-17 21:14:00 +08:00
|
|
|
|
namespace catchAdmin\sms\model\search;
|
|
|
|
|
|
|
|
|
|
trait SmsTemplateSearch
|
|
|
|
|
{
|
|
|
|
|
public function searchOperatorAttr($query, $value, $data)
|
|
|
|
|
{
|
|
|
|
|
return $query->where('operator', $value);
|
|
|
|
|
}
|
|
|
|
|
}
|