change db

This commit is contained in:
2026-04-17 21:43:07 +08:00
parent d832271e2e
commit ed3661edd4
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -64,10 +64,10 @@ class HouseNoteApiService {
final request = http.MultipartRequest(
'POST',
// Uri.parse("${GenericApiService.BASE_IP}/xapi/v2/common/upload_file"),
Uri.parse("${GenericApiService.BASE_IP}/upload/eis_demo/images")
Uri.parse("${GenericApiService.BASE_IP}/upload/house_hunter/images")
);
// 取得本地檔案名稱
String picFileName = "${GenericApiService.BASE_IP}/upload/eis_demo/images/${imageFile.path.split('/').last}";
String picFileName = "${GenericApiService.BASE_IP}/upload/house_hunter/images/${imageFile.path.split('/').last}";
request.files.add(await http.MultipartFile.fromPath('file', imageFile.path));