refactor: 对对话文件的真实地址获取重构

* 顺带引入了 tws://file?hash= 协议, 以后会填坑
This commit is contained in:
CrescentLeaf
2025-10-24 21:22:41 +08:00
parent 04a63ced87
commit 1dfe702c58
2 changed files with 9 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ export default class ChatApi extends BaseApi {
code: 200,
msg: "成功",
data: {
file_path: 'uploaded_files/' + file.getHash()
file_hash: file.getHash()
},
}
})