liugc 11 月之前
父节点
当前提交
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'];