config static method
配置Dio
Implementation
static void config(
BaseOptions options, {
PQLogInterceptor? logInterceptor,
bool enableLog = true,
}) {
_dio = Dio(options);
if (logInterceptor != null) {
PQNetwork.logInterceptor = logInterceptor;
}
PQNetwork.enableLog = enableLog;
}