Commit 852a703b authored by hangjun83's avatar hangjun83

百化接口

parent d6dba8e5
......@@ -12,6 +12,8 @@
namespace App\Services;
use App\Repositories\Contracts\PlatformCustomerRepository;
use App\Rhawn\Repositories\Contracts\BhuaCustomerRepository;
use App\Rhawn\Repositories\Contracts\RhawnCustomerRepository;
use App\Rhawn\Services\BhuaCustomerService;
use App\Rhawn\Services\RhawnCustomerService;
use App\Support\Facades\SimpleLogs;
......@@ -25,8 +27,8 @@ class CustomerService
public function __construct(PlatformCustomerRepository $platformCustomerRepository)
{
$this->platformCustomerRepository = $platformCustomerRepository;
$this->rhawnCustomerService = app(RhawnCustomerService::class);
$this->bhuaCustomerService = app(BhuaCustomerService::class);
$this->rhawnCustomerService = (new RhawnCustomerService(app(RhawnCustomerRepository::class)));
$this->bhuaCustomerService = (new BhuaCustomerService(app(BhuaCustomerRepository::class)));
}
/**
......
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