Commit 5bdcc9d9 by 霍志良

feat:修改网络基类toast提示,默认toast服务器的。服务器没有toast"加载失败"

parent 28f58278
......@@ -8,7 +8,7 @@ ext {
"m-confide" : "0.0.48.74",
"m-consultant" : "0.0.59.36",
"m-fm" : "0.0.30.00",
"m-user" : "0.0.60.26",
"m-user" : "0.0.60.28",
"m-home" : "0.0.22.33",
"m-im" : "0.0.18.23",
"m-dynamic" : "0.0.7.13",
......@@ -33,7 +33,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.39.56",
"ydl-platform" : "0.0.39.57",
//第二步 若干
"ydl-webview" : "0.0.38.32",
......@@ -92,7 +92,7 @@ ext {
"m-confide" : "0.0.41.3",
"m-consultant" : "0.0.51.16",
"m-fm" : "0.0.23.5",
"m-user" : "0.0.41.5",
"m-user" : "0.0.41.7",
"m-home" : "0.0.6.28",
"m-im" : "0.0.3.14",
"m-dynamic" : "0.0.1.7",
......@@ -115,7 +115,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.39.56",
"ydl-platform" : "0.0.39.57",
//第二步 若干
"ydl-webview" : "0.0.38.31",
......
......@@ -25,7 +25,7 @@ internal object ThrowableUtil {
is SocketTimeoutException -> BaseApp.getApp().getString(R.string.platform_timeout)
is ApiThrowable -> t.message ?: ""
is CustomThrowable -> t.message ?: ""
else -> BaseApp.getApp().getString(R.string.platform_loadfailed)
else -> t?.message?:BaseApp.getApp().getString(R.string.platform_loadfailed)
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment