liugc 11 месяцев назад
Родитель
Сommit
8d81be1de7
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/api/service/DouYinService.php

+ 1 - 0
app/api/service/DouYinService.php

@@ -199,6 +199,7 @@ class DouYinService
             $order = DouyinOrder::where('order_number', $params['order_number'])->findOrEmpty();
             if(!$order->isEmpty()){
                 $consultation = ExternalConsultation::where('id', $order->consultation_id)->findOrEmpty()->toArray();
+                $consultation['user_name'] = $params['user_name']??$consultation['user_name'];
                 $consultation['mobile'] = $params['mobile']??$consultation['mobile'];
                 $consultation['user_address'] = $params['user_address'];
                 $consultation['lon'] = $params['lon'];