Przeglądaj źródła

星科源 大版本修改

cqp 1 dzień temu
rodzic
commit
c8bd5d2c40
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/Service/U8XkyServerService.php

+ 2 - 2
app/Service/U8XkyServerService.php

@@ -985,7 +985,7 @@ class U8XkyServerService extends Service
         $customer['crt_name'] = DDEmployee::where('userid',$customer['crt_id'])->value('name');
         $customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
 
-        $details = $this->getDetail($data['id']);
+        $details = $this->getDetail($customer['id']);
         $customer = array_merge($customer, $details);
 
         return [true, $customer];
@@ -1356,7 +1356,7 @@ class U8XkyServerService extends Service
         $customer['crt_name'] = DDEmployee::where('userid',$customer['crt_id'])->value('name');
         $customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
 
-        $details = $this->getODetail($data['id']);
+        $details = $this->getODetail($customer['id']);
         $customer = array_merge($customer, $details);
 
         return [true, $customer];