opt http dns sdk

This commit is contained in:
tongchenfei
2020-12-29 19:24:11 +08:00
parent 618cc9a9bf
commit 19257eb00c
3 changed files with 2 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation rootProject.ext.dependencies.arouter
annotationProcessor rootProject.ext.dependencies.aroutercompiler
implementation 'com.mogo.httpdns:httpdns-helper:1.0.13'
implementation 'com.mogo.httpdns:httpdns-helper:1.0.14'
if (Boolean.valueOf(RELEASE)) {
implementation rootProject.ext.dependencies.httpdnsbase

View File

@@ -50,9 +50,6 @@ public class MogoHttpDns implements IMogoHttpDns, HttpDns, OnAddressChangedListe
@Override
public void getHttpDnsIp(String host, int type, boolean useCache, IHttpDnsCallback callback) {
if (host.contains("zhidaohulian")) {
host = host.replace("zhidaohulian", "zhidaozhixing");
}
Logger.d("MogoHttpDns", "host: " + host + " type: " + type);
Map<String,String> map = httpDnsHelper.getAllAddress();
if(map != null) {

View File

@@ -139,7 +139,7 @@ HTTPDNS_NOOP_VERSION = 2.0.12
######## 外部依赖引用
# 车聊聊
CARCHATTING_VERSION=2.2.45
CARCHATTING_VERSION=2.2.60
# 车聊聊接口
CARCHATTINGPROVIDER_VERSION=1.1.8
# websocket