instance() instance(mixed ...$args) : \App\Services\BaseService 2021/3/29--8:22 下午 Parameters mixed $args variadic Throws \Illuminate\Contracts\Container\BindingResolutionException Returns \App\Services\BaseService
_query() _query() : mixed 2021/4/1--10:51 上午 Throws \Illuminate\Contracts\Container\BindingResolutionException Returns mixed
_updateInit() _updateInit() 2021/4/1--1:39 下午 Throws \Illuminate\Contracts\Container\BindingResolutionException
_delete() _delete() 2021/4/1--3:30 下午 Throws \Illuminate\Contracts\Container\BindingResolutionException
callback() callback(string $name, mixed $one = array(), mixed $two = array()) : boolean 2021/4/1--2:34 下午 Parameters string $name 回调方法名称 mixed $one 回调引用参数1 mixed $two 回调引用参数2 Returns boolean
return_error() return_error( $msg = 'request fail.', $data = array(), \App\traits\int $code = 400, array $header = array()) Parameters $msg $data \App\traits\int $code array $header
validate() validate( $filed = 'id', $exclude_array = array()) 2021/4/14--11:33 上午 Parameters $filed $exclude_array
setEdit() setEdit( $data, $user_id) Created by PhpStorm. User: 刘长军 Date: 2021/4/26 Remark:搜索时添加热搜关键词 Parameters $data $user_id Throws \Exception
setList() setList( $user_id) Created by PhpStorm. User: 刘长军 Date: 2021/4/26 Remark:查询自己的历史搜索 Parameters $user_id
success() success(array $data = array(), string $msg = 'request success.', array $extend = array(), integer $code = 200, array $header = array()) 2021/4/25--2:08 下午 Parameters array $data string $msg array $extend integer $code array $header
error() error(string $msg = 'request fail.', array $data = array(), integer $code = 400, array $header = array()) 2021/4/25--2:09 下午 Parameters string $msg array $data integer $code array $header
return_success() return_success( $data = array(), $msg = 'request success.', $extend = array(), \App\traits\int $code = 200, array $header = array()) Parameters $data $msg $extend \App\traits\int $code array $header