2 Commity acdb07bf29 ... 7cb0719389

Autor SHA1 Wiadomość Data
  Kirin 7cb0719389 会员升级 5 dni temu
  Kirin 2fb3e7859b 会员升级 5 dni temu
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      app/services/other/export/ExportServices.php

+ 3 - 3
app/services/other/export/ExportServices.php

@@ -949,12 +949,12 @@ class ExportServices extends BaseServices
             foreach ($data as $index => $item) {
                 $one_data = [
                     'trade_no' => '',
-                    'real_name' => $item['user']['real_name'],
+                    'real_name' => $item['user']['real_name'] ?? '--',
                     'bank' => $item['bank_address'],
                     'account' => $item['account'],
                     'bank_code' => $item['bank_code'],
-                    'id_card' => $item['user']['card_id'],
-                    'phone' => $item['user']['phone'],
+                    'id_card' => $item['user']['card_id'] ?? '--',
+                    'phone' => $item['user']['phone']?? '--',
                     'extract_price' => $item['extract_price'],
                     'exchange_num' => $item['exchange_num'],
                     'freeze_num' => '',