diff --git a/admin-ui/src/api/system/dept.js b/admin-ui/src/api/system/dept.js
index 546b482..99d6fe3 100644
--- a/admin-ui/src/api/system/dept.js
+++ b/admin-ui/src/api/system/dept.js
@@ -25,6 +25,23 @@ export function getDept(deptId) {
})
}
+// 部门火山引擎配置(解密后明文)
+export function getDeptArk(deptId) {
+ return request({
+ url: '/system/dept/ark/' + deptId,
+ method: 'get'
+ })
+}
+
+// 保存部门火山引擎配置
+export function updateDeptArk(data) {
+ return request({
+ url: '/system/dept/ark',
+ method: 'put',
+ data
+ })
+}
+
// 新增部门
export function addDept(data) {
return request({
diff --git a/admin-ui/src/views/system/dept/index.vue b/admin-ui/src/views/system/dept/index.vue
index 53432a2..f2f4b5a 100644
--- a/admin-ui/src/views/system/dept/index.vue
+++ b/admin-ui/src/views/system/dept/index.vue
@@ -65,6 +65,14 @@
- 保存为 JSON 写入 model_parm;门户「视频生成」按用户所属二级部门读取。 + 保存为 JSON 写入 ai_dept_ark_config.model_parm;门户「视频生成」按 ai_user.dept_id 与本部门配置读取。 留空则使用 portal.video.models。