Kirin 1 год назад
Родитель
Сommit
83613f991b
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      crmeb/services/WithdrawService.php

+ 5 - 2
crmeb/services/WithdrawService.php

@@ -48,7 +48,10 @@ class WithdrawService
             'mobile' => $mobile,//银行卡预留手机号
             'has_auth' => 1,
             'source' => 1,
-            'auth' => 2,
+            "sign_img" => "",
+            "protocol_img" => "",
+            "contract_img" => "",
+            'auth' => "2",
             'cer_front_img' => $front_img,//身份证正面照
             'cer_reverse_img' => $back_img,//身份证反面照
         ];
@@ -83,7 +86,7 @@ class WithdrawService
         $data = ['token' => self::$token, 'data' => $data];
         var_dump($data);
         var_dump($url);
-        return json_decode(self::do_request(self::$url . $url, $data, ['content-type:application/json'], true), true);
+        return json_decode(self::do_request(self::$url . $url, $data, ['content-type:application/json'], true, true), true);
     }