签入版本

This commit is contained in:
2026-10-11 19:06:33 +08:00
parent 17d28de8b7
commit 4084c6bd17
674 changed files with 58855 additions and 1892 deletions
@@ -17,7 +17,7 @@
```bash
# 进入项目目录(以实际解压路径为准)
cd RXThinkCMF_Laravel13_EleVue
cd RXThinkCMF_Laravel13_AntdVue
```
:::tip 温馨提示
@@ -76,7 +76,7 @@ APP_DEBUG=true
DB_CONNECTION=mysql # 数据库类型(mysql / pgsql / sqlsrv / sqlite)
DB_HOST=127.0.0.1 # 数据库服务器地址
DB_PORT=3306 # 数据库端口
DB_DATABASE=rxthinkcmf.laravel13.elevue # 数据库名称(需提前创建)
DB_DATABASE=rxthinkcmf.laravel13.antdvue # 数据库名称(需提前创建)
DB_USERNAME=root # 数据库用户名
DB_PASSWORD=root # 数据库密码
DB_PREFIX=laravel_ # 表前缀(数据库脚本使用 laravel_ 前缀,必须保留)
@@ -118,7 +118,7 @@ composer dev
# 方式二:单独启动 API 服务(内置 PHP 开发服务器,默认监听 127.0.0.1:8000)
# -----------------------------------------------------------------------------
# serve → 启动 Laravel 内置的 PHP 开发服务器
# 启动后浏览器访问 http://localhost:8000 即可
# 启动后浏览器访问 http://admin.laravel13.antdvue 即可
php artisan serve
# -----------------------------------------------------------------------------
@@ -156,13 +156,13 @@ INFO Press Ctrl-C to quit.
# -----------------------------------------------------------------------------
# 健康检查(Laravel 内置 /up 路由)
# -----------------------------------------------------------------------------
curl http://localhost:8000/up
curl http://admin.laravel13.antdvue/up
# → {"status":"ok"}
# -----------------------------------------------------------------------------
# 验证码接口(公开接口,同时验证 PHP → Redis 链路)
# -----------------------------------------------------------------------------
curl http://localhost:8000/api/captcha
curl http://admin.laravel13.antdvue/api/captcha
# → {"code":0,"ok":true,"msg":"操作成功","data":{"key":"...","captcha":"data:image/png;base64,..."}}
# -----------------------------------------------------------------------------
@@ -171,7 +171,7 @@ curl http://localhost:8000/api/captcha
# -X POST → 使用 POST 方法
# -H → 设置请求头(Content-Type: application/json)
# -d → 发送 JSON 格式的请求体
curl -X POST http://localhost:8000/api/login \
curl -X POST http://admin.laravel13.antdvue/api/login \
-H "Content-Type: application/json" \
-d '{"username":"admin","password":"123456"}'