From 86258c2d3568d460c6ea3743bd948402d56b8b9e Mon Sep 17 00:00:00 2001
From: 潘浩文 <phw@bronet.cn>
Date: Wed, 21 Nov 2018 14:15:23 +0800
Subject: [PATCH] 订单渲染

---
 app/portal/controller/PageController.php                  | 2 +-
 simplewind/vendor/overtrue/wechat/src/Payment/Payment.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/portal/controller/PageController.php b/app/portal/controller/PageController.php
index 26dc47d..ac55b93 100644
--- a/app/portal/controller/PageController.php
+++ b/app/portal/controller/PageController.php
@@ -125,7 +125,7 @@ class PageController extends HomeBaseController
     public function getCode()
     {
         $param=$this->request->param();
-        $param['mobile']=17694933850;
+        $param['mobile']='17694933850';
         $clnt = YunpianClient::create('ae02d6c1c41748b663c3f31ba5a03da8');
         $code = cmf_get_verification_code($param['mobile'], 4);
         $content= '【十方台】您的验证码是'.$code.'如非本人操作,请忽略本短信';
diff --git a/simplewind/vendor/overtrue/wechat/src/Payment/Payment.php b/simplewind/vendor/overtrue/wechat/src/Payment/Payment.php
index 2b14683..d039a49 100644
--- a/simplewind/vendor/overtrue/wechat/src/Payment/Payment.php
+++ b/simplewind/vendor/overtrue/wechat/src/Payment/Payment.php
@@ -244,8 +244,8 @@ class Payment
     {
         $config = $this->configForPayment($prepayId, false);
 
-        $config['timestamp'] = $config['timeStamp'];
-        unset($config['timeStamp']);
+//        $config['timestamp'] = $config['timeStamp'];
+//        unset($config['timeStamp']);
 
         return $config;
     }
--
libgit2 0.24.0