feat: 自定义版本功能更新
Build and Release / Build (push) Has been cancelled

- 新增家庭共享订阅管理
- 新增用户邀请统计
- 新增签名和订阅模式设置表单
- 更新 API 服务层和国际化文件
- UI 组件优化(enhanced-input、pro-table)
This commit is contained in:
2026-03-19 01:56:13 -07:00
parent 31803a1d24
commit 6b92979c7c
82 changed files with 3266 additions and 739 deletions
+41 -1
View File
@@ -1,4 +1,4 @@
// @ts-nocheck
// @ts-expect-error
/* eslint-disable */
import request from "@workspace/ui/lib/request";
@@ -365,3 +365,43 @@ export async function updateVerifyConfig(
}
);
}
/**
* 获取签名配置
* GET /v1/admin/system/signature_config
* @param options - 可选的请求配置
* @returns 签名配置
*/
export async function getSignatureConfig(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.SignatureConfig }>(
`${import.meta.env.VITE_API_PREFIX || ""}/v1/admin/system/signature_config`,
{
method: "GET",
...(options || {}),
}
);
}
/**
* 更新签名配置
* PUT /v1/admin/system/signature_config
* @param body - 签名配置参数
* @param options - 可选的请求配置
* @returns 更新结果
*/
export async function updateSignatureConfig(
body: API.SignatureConfig,
options?: { [key: string]: any }
) {
return request<API.Response & { data?: any }>(
`${import.meta.env.VITE_API_PREFIX || ""}/v1/admin/system/signature_config`,
{
method: "PUT",
headers: {
"Content-Type": "application/json",
},
data: body,
...(options || {}),
}
);
}