优化
This commit is contained in:
@@ -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'
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user