26 lines
562 B
PHP
26 lines
562 B
PHP
<?php
|
|
|
|
use App\Models\ZEmail;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::get('/', function () {
|
|
return view('welcome');
|
|
});
|
|
|
|
Route::get('ac', function () {
|
|
return json_decode(config('app.settings.configuration_settings'))->random_username_length_max ?? 0;
|
|
//return json_decode(config('app.settings.configuration_settings')) ?? [];
|
|
});
|
|
|
|
Route::get('bc', function (){
|
|
return ZEmail::check();
|
|
});
|
|
|
|
Route::get('zz', function (){
|
|
try {
|
|
ZEmail::connectMailBox();
|
|
} catch (Exception $ex) {
|
|
return $ex->getMessage();
|
|
}
|
|
});
|