cqpCow 11 ماه پیش
والد
کامیت
24b10a5b12
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/Service/CustomerService.php

+ 1 - 0
app/Service/CustomerService.php

@@ -367,6 +367,7 @@ class CustomerService extends Service
             ->first();
         if(empty($customer)) return [false,'客户不存在或已被删除'];
         $customer = $customer->toArray();
+        $customer['order_number'] = Customer::$order_number . "|" . $data['id'] . "|" . $customer['title'];
         $product = Product::where('id',$customer['intention_product'])->value('title');
         $customer['intention_product_title'] = $product;
         $customer['product_category'] = [];