mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update
This commit is contained in:
parent
5d6d3c8703
commit
f8c045a36b
@ -19,11 +19,7 @@ class TutorialController extends Controller
|
||||
|
||||
public function getAppleID (Request $request) {
|
||||
$user = User::find($request->session()->get('id'));
|
||||
if ($user->expired_at < time()) {
|
||||
return response([
|
||||
'data' => false
|
||||
]);
|
||||
}
|
||||
if ($user->expired_at >= time()) {
|
||||
return response([
|
||||
'data' => [
|
||||
'apple_id' => config('v2board.apple_id'),
|
||||
@ -31,4 +27,5 @@ class TutorialController extends Controller
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user