You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
529 B
25 lines
529 B
<?php
|
|
|
|
|
|
namespace App\Controller\v3;
|
|
|
|
|
|
use App\Controller\BaseController;
|
|
use App\Service\v3\Interfaces\StoreLoginServiceInterface;
|
|
use Hyperf\Di\Annotation\Inject;
|
|
|
|
|
|
class StoreLoginController extends BaseController
|
|
{
|
|
/**
|
|
* @Inject
|
|
* @var StoreLoginServiceInterface
|
|
*/
|
|
protected $storeLoginServicce;
|
|
public function login()
|
|
{
|
|
$params = $this->request->all();
|
|
$res = $this->storeLoginServicce->do($params['account'],$params['password']);
|
|
return $this->success($res);
|
|
}
|
|
}
|