提交 0c1822fe authored 作者: shixiaochen's avatar shixiaochen

1、修改获取升级版本-请求日志打印格式;

上级 d7ba1b13
......@@ -39,13 +39,13 @@ void checkVersion({
var responseData = response.data;
var requestOptions = response.requestOptions;
var headers = response.headers;
var result = responseData?["data"];
debugPrint("========== 网络请求成功 ==========\n"
"path:${requestOptions.path}\n"
"method:${requestOptions.method}\n"
"queryParameters:${requestOptions.queryParameters}\n"
"headers:${headers.map}\n\n"
"responseData:$responseData\n");
var result = responseData?["data"];
//获取当前时间
String spCurrent = SpUtil.getString(currentDay) ?? "";
String current = DateUtil.formatDate(DateTime.now(), format: dateFormat);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论