赞
踩
出现这个问题是接口请求证书问题:
(dio.httpClientAdapter as DefaultHttpClientAdapter).onHttpClientCreate = (client){ client.badCertificateCallback=(cert, host, port){ return true; }; };
即可完美解决