...
|
...
|
@@ -245,6 +245,7 @@ class MailListV2 extends Base { |
|
|
return $v;
|
|
|
},$lists?:[]);
|
|
|
|
|
|
if($lists){
|
|
|
// 总数
|
|
|
if(empty($where['flagged'])){
|
|
|
$total = db()->cache($this->cache)->count(sprintf($sql,"count(*)"));
|
...
|
...
|
@@ -252,6 +253,10 @@ class MailListV2 extends Base { |
|
|
$total = db()->cache($this->cache)->count("select count(*) from (".sprintf($sql,"`id`").' group by `udate`) as t');
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
$total = 0;
|
|
|
}
|
|
|
|
|
|
|
|
|
app()->_json(listsPage($lists,$total,$page,$limit));
|
|
|
|
...
|
...
|
|