From fa56f806a79e1a85ee1369a70712f5a33b076bdf Mon Sep 17 00:00:00 2001 From: Terry <2358269014@qq.com> Date: Fri, 28 Jul 2017 10:06:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/appfront/config/modules/Checkout.php | 2 +- app/appfront/modules/Checkout/controllers/OnepageController.php | 2 +- services/payment/Paypal.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/appfront/config/modules/Checkout.php b/app/appfront/config/modules/Checkout.php index 17483f71..1e5f8cca 100644 --- a/app/appfront/config/modules/Checkout.php +++ b/app/appfront/config/modules/Checkout.php @@ -10,7 +10,7 @@ return [ /** * checkout 模块的配置,您可以在@appfront/config/fecshop_local_modules/Checkout.php * 中进行配置,二开,或者重写该模块(在上面路径中如果文件不存在,自行新建配置文件。) - */ + */ 'checkout' => [ 'class' => '\fecshop\app\appfront\modules\Checkout\Module', /** diff --git a/app/appfront/modules/Checkout/controllers/OnepageController.php b/app/appfront/modules/Checkout/controllers/OnepageController.php index 2c1a18ca..28af107d 100644 --- a/app/appfront/modules/Checkout/controllers/OnepageController.php +++ b/app/appfront/modules/Checkout/controllers/OnepageController.php @@ -32,7 +32,7 @@ class OnepageController extends AppfrontController $checkoutOrderUrl = Yii::$service->url->getUrl('checkout/onepage/index'); Yii::$service->customer->setLoginSuccessRedirectUrl($checkoutOrderUrl); return Yii::$service->url->redirectByUrlKey('customer/account/login'); - } + } $_csrf = Yii::$app->request->post('_csrf'); if ($_csrf) { $status = $this->getBlock('placeorder')->getLastData(); diff --git a/services/payment/Paypal.php b/services/payment/Paypal.php index 9c9ed0a2..dfc5d612 100644 --- a/services/payment/Paypal.php +++ b/services/payment/Paypal.php @@ -171,7 +171,7 @@ class Paypal extends Service } /** - * paypal 可能发送多次IPN消息, + * paypal 可能发送多次IPN消息 * 判断是否重复,如果不重复,把当前的插入。 */ protected function isNotDuplicate() -- GitLab