add
This commit is contained in:
@@ -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},
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// 处理响应
|
// 处理响应
|
||||||
|
|||||||
Reference in New Issue
Block a user