|
@@ -236,6 +236,13 @@ class General extends Base
|
|
|
unset($lists[$k]);
|
|
|
}else{
|
|
|
$select[] = $v;
|
|
|
+ if($v['is_regular'] == 0){
|
|
|
+ $v['fs_time'] = $v['push_time'];
|
|
|
+ $sort[] = $v['push_time'];
|
|
|
+ }else{
|
|
|
+ $v['fs_time'] = $v['create_at'];
|
|
|
+ $sort[] = $v['create_at'];
|
|
|
+ }
|
|
|
}
|
|
|
}else if($v['type'] == 4){
|
|
|
$label = Db::name('user_label')->group('user_id')->where('label','in',$v['label'])->column('user_id');
|
|
@@ -243,18 +250,26 @@ class General extends Base
|
|
|
unset($lists[$k]);
|
|
|
}else{
|
|
|
$select[] = $v;
|
|
|
+ if($v['is_regular'] == 0){
|
|
|
+ $v['fs_time'] = $v['push_time'];
|
|
|
+ $sort[] = $v['push_time'];
|
|
|
+ }else{
|
|
|
+ $v['fs_time'] = $v['create_at'];
|
|
|
+ $sort[] = $v['create_at'];
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
$select[] = $v;
|
|
|
+ if($v['is_regular'] == 0){
|
|
|
+ $v['fs_time'] = $v['push_time'];
|
|
|
+ $sort[] = $v['push_time'];
|
|
|
+ }else{
|
|
|
+ $v['fs_time'] = $v['create_at'];
|
|
|
+ $sort[] = $v['create_at'];
|
|
|
+ }
|
|
|
}
|
|
|
- if($v['is_regular'] == 0){
|
|
|
- $v['fs_time'] = $v['push_time'];
|
|
|
- $sort[] = $v['push_time'];
|
|
|
- }else{
|
|
|
- $v['fs_time'] = $v['create_at'];
|
|
|
- $sort[] = $v['create_at'];
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
// $adds = array_values($select);
|
|
|
// return $page_k.'-'.$page_e;
|