From b7bc0a08e575e5484ba69b6f4cc1d624b38ecfe0 Mon Sep 17 00:00:00 2001 From: Karson Date: Tue, 11 Apr 2017 19:21:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=88=E6=8B=8D=E4=BA=91?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=9E=E8=B0=83=E6=97=B6=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Upyun.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/application/index/controller/Upyun.php b/application/index/controller/Upyun.php index a3647fc6..96ec812b 100644 --- a/application/index/controller/Upyun.php +++ b/application/index/controller/Upyun.php @@ -13,15 +13,15 @@ class Upyun extends Frontend public function notify() { - $url = $this->request->param("url"); - $code = $this->request->param("code"); - $message = $this->request->param("message"); - $sign = $this->request->param("sign"); - $time = $this->request->param("time"); - $extparam = $this->request->param("ext-param"); + $url = $this->request->post("url"); + $code = $this->request->post("code"); + $message = $this->request->post("message"); + $sign = $this->request->post("sign"); + $time = $this->request->post("time"); + $extparam = $this->request->post("ext-param"); if ($url && $code && $message && $time && $sign) { - $arr = [$code, $message, $url, $time, Config::get('upload', 'formkey')]; + $arr = [$code, $message, $url, $time, Config::get('upload.formkey')]; if ($extparam) { $arr[] = $extparam;