|
@@ -106,7 +106,7 @@ class ReportingWork extends Api
|
|
|
if (Request::instance()->isPost() == false){
|
|
if (Request::instance()->isPost() == false){
|
|
|
$this->error('非法请求');
|
|
$this->error('非法请求');
|
|
|
}
|
|
}
|
|
|
- $params = Request::instance()->post();
|
|
|
|
|
|
|
+ $params = Request::instance()->request();
|
|
|
if (!isset($params['order']) || empty($params['order'])){
|
|
if (!isset($params['order']) || empty($params['order'])){
|
|
|
$this->error('参数不能为空');
|
|
$this->error('参数不能为空');
|
|
|
}
|
|
}
|