优化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user