This commit is contained in:
2025-11-19 01:39:56 +08:00
parent cc8e503f49
commit f052b0af65
11 changed files with 956 additions and 1124 deletions

View File

@@ -15,7 +15,12 @@ export const UserPromptApi = {
* @returns {Promise} 响应数据
*/
createUserPrompt: async (data) => {
return await http.post(`${SERVER_BASE_AI}/user-prompt/create`, data)
console.log('[UserPromptApi] 发送请求参数:', JSON.stringify(data, null, 2))
return await http.post(`${SERVER_BASE_AI}/user-prompt/create`, data, {
headers: {
'Content-Type': 'application/json'
}
})
},
/**