|
|
@@ -854,10 +854,10 @@ class OrderSuperLoss extends Api
|
|
|
* @params array data
|
|
|
*/
|
|
|
public function updateOrderYj(){
|
|
|
- if (Request::instance()->isPost() == false) {
|
|
|
- $this->error('非法请求');
|
|
|
+ if ($this->request->isGet() === false){
|
|
|
+ $this->error('请求错误');
|
|
|
}
|
|
|
- $params = Request::instance()->request();
|
|
|
+ $params = $this->request->get();
|
|
|
if (!isset($params['order'])){
|
|
|
$this->error('参数不能为空');
|
|
|
}
|