This commit is contained in:
vipg
2025-11-15 18:06:23 +08:00
parent 5c71c93eee
commit 0175b0823e

View File

@@ -58,9 +58,7 @@ class _AddExchangePageState extends State<AddExchangePage> {
final response = await dio.post( final response = await dio.post(
url, url,
data: requestData, data: requestData,
options: Options( options: Options(headers: {'Content-Type': 'application/json'}),
headers: {'Content-Type': 'application/json', 'X-User-ID': userId},
),
); );
// 处理响应 // 处理响应