2 次代码提交 acdb07bf29 ... 7cb0719389

作者 SHA1 备注 提交日期
  Kirin 7cb0719389 会员升级 1 周之前
  Kirin 2fb3e7859b 会员升级 1 周之前
共有 1 个文件被更改,包括 3 次插入3 次删除
  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' => '',