public function query($isshow)
 {
     if ($isshow) {
         $datas = OpinionModel::where('isshow', $isshow)->paginate($this->limit);
     } else {
         $datas = OpinionModel::paginate($this->limit);
     }
     $datas->limit = $this->limit;
     return $datas;
 }
 /**
  * 查询方法,提取对本站的意见
  */
 public function query($status)
 {
     if ($status == 0) {
         //所有意见
         $datas = OpinionModel::where('isshow', 2)->paginate($this->limit);
     } elseif ($status == 1) {
         //未处理
         $datas = OpinionModel::where('isshow', 2)->where('status', 1)->paginate($this->limit);
     } elseif ($status == 2) {
         //已处理
         $datas = OpinionModel::where('isshow', 1)->where('status', '>', 3)->paginate($this->limit);
     } elseif ($status == 4) {
         //处理并且满意
         $datas = OpinionModel::where('isshow', 1)->where('status', 5)->paginate($this->limit);
     }
     $datas->limit = $this->limit;
     return $datas;
 }