<?php
 namespace Module\Vendor\Oauth; class OauthType { const WECHAT_UNION = 'wechatunion'; const WECHAT_MOBILE = 'wechatmobile'; const WECHAT_MOBILE_AUTHORIZATION = 'wechatmobileauthorization'; const WECHAT = 'wechat'; const QQ = 'qq'; const WEIBO = 'weibo'; const WECHAT_MINI_PROGRAM = 'wechatminiprogram'; public static function getList() { return [ self::WECHAT_MOBILE => '微信手机登录', self::WECHAT_MOBILE_AUTHORIZATION => '微信手机登录', self::WECHAT => '微信扫码登录', self::QQ => 'QQ登录', self::WEIBO => '微博登录', self::WECHAT_MINI_PROGRAM => '微信小程序', ]; } }