refactor: remove local history caching and add API suggestions
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -60,4 +60,22 @@ export function deleteFile(filename: string) {
|
||||
url: `/common/files/${filename}`, // 对应后端 /api/v1/common/files/<filename>
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 8. 供应商建议
|
||||
export function getSupplierSuggestions(params: any) {
|
||||
return request({
|
||||
url: '/inbound/buy/suggestions/suppliers',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 9. 用户建议
|
||||
export function getUserSuggestions(params: any) {
|
||||
return request({
|
||||
url: '/inbound/buy/suggestions/users',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user