Added Setting.php, [Logs, Messages] Model
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
<?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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user