Completed
Push — master ( cd3d31...489e18 )
by Joe
05:29
created
src/Message/NotificationResponse.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     {
69 69
         // 查询
70 70
         $fetchResponse = $this->request->fetchTransaction($this->token);
71
-        $this->data['raw'] = $fetchResponse->getData();     // 用查询数据覆盖掉通知过来的数据
71
+        $this->data['raw'] = $fetchResponse->getData(); // 用查询数据覆盖掉通知过来的数据
72 72
 
73 73
         $this->status = static::STATUS_FAILED;
74 74
         if ($fetchResponse->getData()['PayResult'] == 3) {  // 交易成功為3; 交易失敗為0;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
         $confirmResponse = $this->request->confirmTransaction();
80 80
         if ($confirmResponse->getData()['ReturnCode'] == 1) {
81 81
             $this->data['raw']['confirm'] = true;
82
-        }
83
-        else {
82
+        } else {
84 83
             $this->data['raw']['confirm'] = false;
85 84
         }
86 85
         return $this;
Please login to merge, or discard this patch.
src/Message/TokenRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             'FacServiceId' => $this->getAppId(),
15 15
             'FacTradeSeq'  => $this->getTransactionId(),
16 16
             'TradeType'    => $this->getTradeType(),
17
-            'ServerId'     => $this->getServerId() ?: '',                         // 服务器ID
17
+            'ServerId'     => $this->getServerId() ?: '', // 服务器ID
18 18
             'CustomerId'   => $this->getAccountId() ?: $this->getTransactionId(), // 用户ID
19 19
             'PaymentType'  => $this->getPaymentType() ?: '',
20 20
             'ItemCode'     => $this->getItemCode() ?: '',
Please login to merge, or discard this patch.