标签:
要想属性可搜索,需要在在Model的rules 设定可以搜索的属性
public function rules() | public function rules()
{
return [
[[‘id‘, ‘date‘, ‘type‘, ‘blocked_time‘, ‘create_time‘],
‘integer‘],
];
}
标签:
原文地址:http://www.cnblogs.com/li-xingtao/p/4731116.html