MemberServiceFacade.php 748 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace app\service\api;
  3. use think\Facade;
  4. /**
  5. * Api用户服务门面
  6. * @package plugin\core\service
  7. * @method static mixed init($token) 初始化
  8. * @method static mixed getError() 获取错误信息
  9. * @method static mixed emailRegLogin($param) 邮箱密码注册登录
  10. * @method static mixed logout() 退出登录
  11. * @method static mixed getUserInfo() 获取登录用户信息
  12. * @method static mixed getUser() 获取User模型
  13. * @method static mixed isLogin() 获取登录状态
  14. * @method static mixed getToken() 获取token
  15. * @method static mixed getAllowFields() 允许输出的字段
  16. */
  17. class MemberServiceFacade extends Facade
  18. {
  19. protected static function getFacadeClass()
  20. {
  21. return Member::class;
  22. }
  23. }