未读消息检索bug修正
This commit is contained in:
parent
2f7751ea61
commit
b9932b6f27
@ -78,7 +78,7 @@ class Index extends BaseController
|
||||
$map[] = ['title', 'like', '%' . $param['keywords'] . '%'];
|
||||
}
|
||||
if (!empty($param['read'])) {
|
||||
if($param['read']==0){
|
||||
if($param['read']==1){
|
||||
$map[] = ['read_time', '=', 0];
|
||||
}else{
|
||||
$map[] = ['read_time', '>', 0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user