From 252206d64d2b99e9cec667cd5d54acf7d83ec132 Mon Sep 17 00:00:00 2001 From: Terry <2358269014@qq.com> Date: Wed, 28 Jun 2017 14:01:26 +0800 Subject: [PATCH] =?UTF-8?q?mysql=20order=20=E9=87=91=E9=A2=9D=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B0=8F=E6=95=B0=EF=BC=8C=E7=94=B14=E4=BD=8D?= =?UTF-8?q?=E6=94=B9=E6=88=902=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mysqldb/m170628_052812_fecshop_tables.php | 46 +++++++++++++++++++ services/payment/Paypal.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 migrations/mysqldb/m170628_052812_fecshop_tables.php diff --git a/migrations/mysqldb/m170628_052812_fecshop_tables.php b/migrations/mysqldb/m170628_052812_fecshop_tables.php new file mode 100644 index 00000000..463dad01 --- /dev/null +++ b/migrations/mysqldb/m170628_052812_fecshop_tables.php @@ -0,0 +1,46 @@ +execute($sql); + } + } + + public function safeDown() + { + echo "m170619_014655_fecshop_tables cannot be reverted.\n"; + + return false; + } +} diff --git a/services/payment/Paypal.php b/services/payment/Paypal.php index ee6bfa9a..49646abb 100644 --- a/services/payment/Paypal.php +++ b/services/payment/Paypal.php @@ -598,6 +598,7 @@ class Paypal extends Service $nvp_array['L_PAYMENTREQUEST_0_AMT'.$i] = '-'.$discount_amount; //var_dump($nvp_array); + //exit; return $this->getRequestUrlStrByArray($nvp_array); } -- GitLab