mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 15:39:14 +08:00
update
This commit is contained in:
parent
c016216883
commit
f74c25c44f
@ -16,6 +16,17 @@ class TutorialController extends Controller
|
||||
}
|
||||
|
||||
public function getAppleID () {
|
||||
|
||||
$user = User::find($request->session()->get('id'));
|
||||
if ($user->expired_at < time()) {
|
||||
return response([
|
||||
'data' => false
|
||||
])
|
||||
}
|
||||
return response([
|
||||
'data' => [
|
||||
'apple_id' => config('v2board.apple_id'),
|
||||
'apple_id_password' => config('v2board.apple_id_password')
|
||||
]
|
||||
])
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user