|
@@ -73,8 +73,14 @@ class Journal extends Core
|
|
|
if (isset($cate['id'])) {
|
|
|
$where['cate_id'] = $cate['id'];
|
|
|
}
|
|
|
+
|
|
|
+ if ($this->app) {
|
|
|
+ $where['cate_id_1'] = 1;
|
|
|
+ $where['time'] = time() - (7 * 86400);
|
|
|
+ }
|
|
|
|
|
|
$data = Dever::db('journal/info')->getAllByPage($where);
|
|
|
+
|
|
|
if ($data) {
|
|
|
foreach ($data as $k => $v) {
|
|
|
$data[$k] = $this->info($v);
|