From e68a801302dffb6d5eda6ea6ec24b123b36b9af9 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Tue, 16 Sep 2025 10:46:55 +0800 Subject: [PATCH] Update 4124.mdx (#5654) --- document/content/docs/upgrading/4-12/4124.mdx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/document/content/docs/upgrading/4-12/4124.mdx b/document/content/docs/upgrading/4-12/4124.mdx index d94b486d4..3cc7d2df2 100644 --- a/document/content/docs/upgrading/4-12/4124.mdx +++ b/document/content/docs/upgrading/4-12/4124.mdx @@ -1,5 +1,5 @@ --- -title: 'V4.12.4' +title: 'V4.12.4(包含升级脚本)' description: 'FastGPT V4.12.4 更新说明, 发布于 2025-9-15' --- @@ -14,6 +14,22 @@ description: 'FastGPT V4.12.4 更新说明, 发布于 2025-9-15' - 更新 Sandbox 镜像 tag: v4.12.4 - AIProxy 无需更新 +### 2. 执行升级脚本 + +该脚本仅需商业版用户执行。 + +从任意终端,发起 1 个 HTTP 请求。其中 `{{rootkey}}` 替换成环境变量里的 `rootkey`;`{{host}}` 替换成**FastGPT 域名**。 + +```bash +curl --location --request POST 'https://{{host}}/api/admin/initv4124' \ +--header 'rootkey: {{rootkey}}' \ +--header 'Content-Type: application/json' +``` + +**脚本功能** + +1. 补充所有资源的owner权限 + ## 🚀 新增内容 1. 商业版支持企微发布渠道。