From 052b700e5fa0276d124c51bd98fed86009387f68 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 13 Nov 2025 16:35:08 +0800 Subject: [PATCH] no message --- laravel/_env/.env | 25 +++++++++++++++---------- laravel/routes/web.php | 1 + vuepress/README.md | 39 ++++----------------------------------- 3 files changed, 20 insertions(+), 45 deletions(-) diff --git a/laravel/_env/.env b/laravel/_env/.env index dce54b6b..4e18f69a 100644 --- a/laravel/_env/.env +++ b/laravel/_env/.env @@ -1,18 +1,18 @@ -dove_token = nijiushigedashabiwocaonide +vue_path_node = /Users/hellcat/.nvm/versions/node/v24.11.1/bin/node -telegram_token = 7810631600:AAGiXScKADwHLEUZ6E_-EhZVnCABkxSgU_k -telegram_chatid = -4703525573 +url_master_base = master.diaodu.us -is_loc = 1 +is_loc = 0 -APP_NAME=dd +tg_send_enable = ture + +APP_NAME=天天测 APP_ENV=local APP_KEY=base64:pboCUmKSUHIPvRgkPZhs37Vlk/x8kPUD9EtqfKdPaqQ= APP_DEBUG=true APP_TIMEZONE=Asia/Shanghai -APP_URL=https://master.diaodu.us -APP_WWW=master.diaodu.us +APP_URL=tiantiance.blog APP_LOCALE=en APP_FALLBACK_LOCALE=en @@ -33,9 +33,9 @@ LOG_LEVEL=debug DB_CONNECTION=mariadb DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=master -DB_USERNAME=hotdog -DB_PASSWORD=hotshotgg +DB_DATABASE=tiantiance +DB_USERNAME=root +DB_PASSWORD=root SESSION_DRIVER=database SESSION_LIFETIME=120 @@ -73,3 +73,8 @@ AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false VITE_APP_NAME="${APP_NAME}" + +site_code = ttc +site_name = "${APP_NAME}" +site_url = "${APP_URL}" +dir_root = /www/wwwroot/${APP_URL} diff --git a/laravel/routes/web.php b/laravel/routes/web.php index 5705d9bb..c173574e 100755 --- a/laravel/routes/web.php +++ b/laravel/routes/web.php @@ -3,6 +3,7 @@ use Illuminate\Support\Facades\Route; use App\Http\Controllers\Api\ArticleController as ApiArticleController; use App\Http\Controllers\Api\TG\HookController; +use App\Http\Controllers\HelloController; //Route::any('/api/telegram/post', [ServiceOpenApiTelegram::class, 'post']); //Route::any('/api/article/build', [ServiceArticle::class, 'api_build']); diff --git a/vuepress/README.md b/vuepress/README.md index 0827754a..b8f0787f 100644 --- a/vuepress/README.md +++ b/vuepress/README.md @@ -1,37 +1,6 @@ -server { - listen 80; - server_name la.tiantiance.blog; - return 301 https://$server_name$request_uri; -} +CREATE DATABASE tiantiance CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; -server { - listen 443 ssl; - server_name la.tiantiance.blog; - - root /www/wwwroot/la.tiantiance.blog/laravel/public; - index index.php; - - ssl_certificate /etc/letsencrypt/live/tiantiance.blog/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/tiantiance.blog/privkey.pem; - - ssl_session_cache shared:SSL:1m; - ssl_session_timeout 10m; - ssl_ciphers HIGH:!aNULL:!MD5; - ssl_prefer_server_ciphers on; - - location / { - try_files $uri /index.php$is_args$args; - } - - location ~ \.php$ { - try_files $fastcgi_script_name =404; - include fastcgi_params; - fastcgi_index index.php; - fastcgi_buffers 8 16k; - fastcgi_buffer_size 32k; - fastcgi_pass 127.0.0.1:9000; - fastcgi_param DOCUMENT_ROOT $realpath_root; - fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; - } -} +CREATE USER 'sspanel'@'localhost'; +GRANT ALL PRIVILEGES ON sspanel.* TO 'sspanel'@'localhost' IDENTIFIED BY 'sspanel-password'; +FLUSH PRIVILEGES;