测试
This commit is contained in:
parent
4e4324ba05
commit
776c662b69
@ -835,6 +835,7 @@ class Auth extends BaseController
|
|||||||
if (!$sms_code && !env('APP_DEBUG')) {
|
if (!$sms_code && !env('APP_DEBUG')) {
|
||||||
return app('json')->fail('验证码不正确');
|
return app('json')->fail('验证码不正确');
|
||||||
}
|
}
|
||||||
|
|
||||||
$auth = Cache::get('u_try' . $data['auth_token']);
|
$auth = Cache::get('u_try' . $data['auth_token']);
|
||||||
$auth && Cache::delete('u_try' . $data['auth_token']);
|
$auth && Cache::delete('u_try' . $data['auth_token']);
|
||||||
if (empty($auth)) {
|
if (empty($auth)) {
|
||||||
|
@ -714,7 +714,6 @@ Route::group('api/', function () {
|
|||||||
Route::get('wechat/config', 'api.Wechat/jsConfig');
|
Route::get('wechat/config', 'api.Wechat/jsConfig');
|
||||||
//图片验证码
|
//图片验证码
|
||||||
Route::get('captcha', 'api.Auth/getCaptcha');
|
Route::get('captcha', 'api.Auth/getCaptcha');
|
||||||
|
|
||||||
//合并账号
|
//合并账号
|
||||||
Route::post('user/merge', 'api.Auth/merge');
|
Route::post('user/merge', 'api.Auth/merge');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user