This commit is contained in:
2026-03-11 00:42:46 +08:00
parent a125b5922f
commit a12cb5e75a
23 changed files with 1593 additions and 101 deletions

View File

@@ -40,6 +40,14 @@ export const UserPromptApi = {
return await http.get(`${SERVER_BASE_AI}/user-prompt/page`, { params })
},
/**
* 获取用户提示词列表(简化版,不分页)
* @returns {Promise} 响应数据
*/
getUserPromptList: async () => {
return await http.get(`${SERVER_BASE_AI}/user-prompt/list`)
},
/**
* 获取单个用户提示词
* @param {Number} id - 提示词ID