Sfoglia il codice sorgente

公证处检测问题

Xpy 8 mesi fa
parent
commit
686c7e2628
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 6 6
      app/traits/GzcApiRequest.php

+ 6 - 6
app/traits/GzcApiRequest.php

@@ -67,9 +67,9 @@ trait GzcApiRequest
67 67
         Log::info('储蓄保养老金请求参数:' . json_encode($cxbData));
68 68
         $cxbResponseData = self::request('POST', '/v1/api/third/in/in30', $cxbData, [], 1);
69 69
         Log::info('储蓄保养老金请求返回:' . json_encode($cxbResponseData));
70
-        if($cxbResponseData['code'] != 0) {
71
-            return $cxbResponseData['message'];
72
-        }
70
+//        if($cxbResponseData['code'] != 0) {
71
+//            return $cxbResponseData['message'];
72
+//        }
73 73
 
74 74
         $xfbData = [
75 75
             'platformNo' => env('XINGFUBAO.PLATFORM_NO'),
@@ -81,9 +81,9 @@ trait GzcApiRequest
81 81
         Log::info('幸福保养老金请求参数:' . json_encode($xfbData));
82 82
         $xfbResponseData = self::request('POST', '/v1/api/third/in/in30', $xfbData, [], 2);
83 83
         Log::info('幸福保养老金请求返回:' . json_encode($xfbResponseData));
84
-        if($xfbResponseData['code'] != 0) {
85
-            return $xfbResponseData['message'];
86
-        }
84
+//        if($xfbResponseData['code'] != 0) {
85
+//            return $xfbResponseData['message'];
86
+//        }
87 87
 
88 88
         $amount = $cxbResponseData['extendData']['amount'] + $xfbResponseData['extendData']['amount'];
89 89
         //return $amount;