Commit 46a31a3f authored by hj's avatar hj

更新提交

parent 071b043f
<?php
/*
* This file is part of the Jiannei/lumen-api-starter.
*
* (c) Jiannei <longjian.huang@foxmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace App\Services;
use App\Repositories\Contracts\PlatformCustomerRepository;
use App\Services\CustomerService;
use App\Support\Traits\Helpers;
class AuthService
{
use Helpers;
public function __construct(PlatformCustomerRepository $platformCustomerRepository)
{
$this->platformCustomerRepository = $platformCustomerRepository;
}
/**
* 获取token
* @param $requestParams
* @return array
* @throws \Exception
*/
public function getToken($requestParams)
{
return app(CustomerService::class)->getToken($requestParams);
}
}
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