Commit 9429a375 authored by hj's avatar hj

更新

parent 407b0f7b
...@@ -18,7 +18,7 @@ class ChemsiteCustomerService ...@@ -18,7 +18,7 @@ class ChemsiteCustomerService
public function getCustomerByNumber($customerNumber) public function getCustomerByNumber($customerNumber)
{ {
$customer = $this->chemsiteCustomerService->getCustomerThroughCusCode($customerNumber); $customer = $this->chemsiteCustomerService->getCustomerThroughCusCode($customerNumber);
return app(ChemsiteCustomerRepositoryEloquent::class)->transformData($customer); return current(app(ChemsiteCustomerRepositoryEloquent::class)->transformData([$customer]));
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment