|
@@ -20,8 +20,7 @@ Route::group('v2', function () {
|
|
|
Route::group(function () {
|
|
Route::group(function () {
|
|
|
//小程序登录页面自动加载,返回用户信息的缓存key,返回是否强制绑定手机号
|
|
//小程序登录页面自动加载,返回用户信息的缓存key,返回是否强制绑定手机号
|
|
|
Route::get('routine/auth_type', 'v2.wechat.AuthController/authType')->option(['real_name' => '小程序页面登录类型']);
|
|
Route::get('routine/auth_type', 'v2.wechat.AuthController/authType')->option(['real_name' => '小程序页面登录类型']);
|
|
|
- //小程序授权登录,返回token
|
|
|
|
|
- Route::get('routine/auth_login', 'v2.wechat.AuthController/authLogin')->option(['real_name' => '小程序授权登录']);
|
|
|
|
|
|
|
+
|
|
|
//小程序授权登录,返回openid
|
|
//小程序授权登录,返回openid
|
|
|
Route::get('routine/auth_openid', 'v2.wechat.AuthController/authOpenId')->option(['real_name' => '小程序授权登录']);
|
|
Route::get('routine/auth_openid', 'v2.wechat.AuthController/authOpenId')->option(['real_name' => '小程序授权登录']);
|
|
|
//小程序授权绑定手机号
|
|
//小程序授权绑定手机号
|
|
@@ -31,6 +30,8 @@ Route::group('v2', function () {
|
|
|
//小程序授权后绑定手机号
|
|
//小程序授权后绑定手机号
|
|
|
Route::post('routine/binding_phone', 'v2.wechat.AuthController/BindingPhone')->option(['real_name' => '小程序授权后绑定手机号']);
|
|
Route::post('routine/binding_phone', 'v2.wechat.AuthController/BindingPhone')->option(['real_name' => '小程序授权后绑定手机号']);
|
|
|
|
|
|
|
|
|
|
+ //公众号授权登录,返回token
|
|
|
|
|
+ Route::get('wechat/auth_login', 'v2.wechat.WechatController/authLogin')->option(['real_name' => '公众号授权登录']);
|
|
|
//公众号授权登录,返回token
|
|
//公众号授权登录,返回token
|
|
|
Route::get('wechat/auth_login', 'v2.wechat.WechatController/authLogin')->option(['real_name' => '公众号授权登录']);
|
|
Route::get('wechat/auth_login', 'v2.wechat.WechatController/authLogin')->option(['real_name' => '公众号授权登录']);
|
|
|
//公众号授权绑定手机号
|
|
//公众号授权绑定手机号
|