feat : login
This commit is contained in:
@@ -29,6 +29,7 @@ use App\Model\UserThird;
|
||||
use App\Service\Api\BaseService;
|
||||
use App\Service\ServiceTrait\Api\GetUserInfoTrait;
|
||||
use App\Service\ServiceTrait\Common\UserTrait;
|
||||
use Exception;
|
||||
use Hyperf\Di\Annotation\Inject;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
@@ -79,11 +80,11 @@ abstract class LoginBaseService extends BaseService
|
||||
*/
|
||||
protected string $lockKey;
|
||||
|
||||
// /**
|
||||
// * 登录code login_type = wx_login 必填
|
||||
// * @var string
|
||||
// */
|
||||
// protected string $jsCode = '';
|
||||
/**
|
||||
* 登录code login_type = wx_login 必填
|
||||
* @var string
|
||||
*/
|
||||
protected string $jsCode = '';
|
||||
|
||||
/**
|
||||
* 手机号 login_type = mobile_code 必填
|
||||
@@ -133,7 +134,7 @@ abstract class LoginBaseService extends BaseService
|
||||
/**
|
||||
* 返回值
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function getReturn():array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user