Passed
Push — master ( b979a3...edb5ad )
by ma
03:05
created
src/Service/Contract/AlterSign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         try {
39 39
             $this->validate();
40 40
             $data = $this->body;
41
-            $gateway  = $this->config['gateway'] . $this->api;
41
+            $gateway = $this->config['gateway'] . $this->api;
42 42
             $data = json_encode($data);
43 43
             $sign = hash('sha256', $data);
44 44
             $method = $this->method;
Please login to merge, or discard this patch.
src/Service/Contract/SubmchntListQry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','merNo'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'merNo'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/Service/Contract/NmrsCertChangeSign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','ums_reg_id'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'ums_reg_id'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/Service/Contract/StoreChangeSign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         try {
39 39
             $this->validate();
40 40
             $data = $this->body;
41
-            $gateway  = $this->config['gateway'] . $this->api;
41
+            $gateway = $this->config['gateway'] . $this->api;
42 42
             $data = json_encode($data);
43 43
             $sign = hash('sha256', $data);
44 44
             $method = $this->method;
Please login to merge, or discard this patch.
src/Service/Wechat/SecureCancel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
      * 必传的值
23 23
      * @var array
24 24
      */
25
-    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid','instMid'];
25
+    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'instMid'];
26 26
 }
Please login to merge, or discard this patch.
example/Contract/AgreementSignTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $config = include_once './Config/Config.php';
9 9
 
10 10
 $data = [
11
-    'request_date' => date('YmdHis'),//请求时间
11
+    'request_date' => date('YmdHis'), //请求时间
12 12
     'ums_reg_id'=>'20181218161925001674',
13 13
     'request_seq' => uniqid(), 
14 14
 ];
Please login to merge, or discard this patch.
config/chinaums.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     'gateway' => [
5
-        'default' => 'https://api-mop.chinaums.com',// 默认正式网关
6
-        'wh_open' => 'https://api-mop-wh.open.chinaums.com',// 正式网关
7
-        'sandbox' => 'https://test-api-open.chinaums.com',// 沙箱网关
5
+        'default' => 'https://api-mop.chinaums.com', // 默认正式网关
6
+        'wh_open' => 'https://api-mop-wh.open.chinaums.com', // 正式网关
7
+        'sandbox' => 'https://test-api-open.chinaums.com', // 沙箱网关
8 8
     ],
9
-    'mid'       => '',// 商户号
10
-    'tid'       => '',// 终端号
11
-    'appid'     => '',// APPID
12
-    'appkey'    => '',// KEY
13
-    'sandbox'   => false,// 是否开启沙箱
9
+    'mid'       => '', // 商户号
10
+    'tid'       => '', // 终端号
11
+    'appid'     => '', // APPID
12
+    'appkey'    => '', // KEY
13
+    'sandbox'   => false, // 是否开启沙箱
14 14
 ];
Please login to merge, or discard this patch.
src/Service/Wechat/Mini.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'subAppId', 'subOpenId', 'tradeType','instMid'];
27
+    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'subAppId', 'subOpenId', 'tradeType', 'instMid'];
28 28
 }
Please login to merge, or discard this patch.
src/Service/Wechat/Mp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'subAppId', 'subOpenId', 'tradeType','instMid'];
27
+    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'subAppId', 'subOpenId', 'tradeType', 'instMid'];
28 28
 }
Please login to merge, or discard this patch.