Commit 407b0f7b authored by hj's avatar hj

更新

parent 1a39cf31
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace App\Services\Api\Chemsite; namespace App\Services\Api\Chemsite;
use App\Repositories\BaseRepository; use App\Repositories\BaseRepository;
use App\Rhawn\Repositories\Eloquent\Chemsite\ChemsiteCustomerRepositoryEloquent;
class ChemsiteCustomerService class ChemsiteCustomerService
{ {
...@@ -17,7 +18,7 @@ class ChemsiteCustomerService ...@@ -17,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(BaseRepository::class)->transformData($customer); return 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