|
|
@@ -54,7 +54,7 @@ class NoticeService extends BaseService
|
|
|
* @param int $pageSize
|
|
|
* @return array
|
|
|
*/
|
|
|
- public function getDataList($params, $pageSize = 15)
|
|
|
+ public function getDataList($params, $pageSize = 10)
|
|
|
{
|
|
|
$where = ['a.mark' => 1,'status'=>1];
|
|
|
$status = isset($params['status'])? $params['status'] : 0;
|
|
|
@@ -173,8 +173,7 @@ class NoticeService extends BaseService
|
|
|
$data = [
|
|
|
'title'=> $title,
|
|
|
'content'=> $content?$content:$title,
|
|
|
- 'type'=> 2,
|
|
|
- 'is_top'=> 1,
|
|
|
+ 'type'=> 1,
|
|
|
'create_time'=>time(),
|
|
|
'update_time'=>time(),
|
|
|
'status'=>1,
|