Dio dio = new Dio();
dio.options.baseUrl = ServerUrl.base;
FormData formData = new FormData.from({
"mobile": "13981983532",
"pwd": "983532",
});
Response response = await dio.post(ServerUrl.token, data: formData);
print(response.data.toString());
网友评论