Commit 59889f0a authored by sheteng's avatar sheteng

v2.0 开发 上线

parent e502bfc9
......@@ -103,7 +103,7 @@ class CommonWebViewFragment : XPageFragment() {
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
println("webview " + url)
url?.let {
if (it.contains("cc-tt-front") || it.contains("ttaccelerator")) {
if (it.contains("cc-tts-front") || it.contains("ttaccelerator")) {
binding.webBar.visibility = View.GONE
} else {
binding.webBar.visibility = View.VISIBLE
......
......@@ -57,7 +57,7 @@ fun Project.setupCore() {
android.apply {
defaultConfig {
versionCode = 4
versionName = "1.1.0"
versionName = "1.0.4"
}
compileOptions.isCoreLibraryDesugaringEnabled = true
lintOptions {
......
......@@ -4,14 +4,14 @@ object HttpConfig {
//app后端
//val baseUrl = "http://10.16.1.98:9002"
val baseUrl = "https://test-cc-tt-api-v2.orangenet.org.cn" //测试
// val baseUrl = "https://cc-tt-front.srccwl.com" //生产
// val baseUrl = "https://test-cc-tt-api-v2.orangenet.org.cn" //测试
val baseUrl = "http://cc-tts-front.srccwl.com" //生产
/**
* 主页h5
*/
// val UI_MAIN_URL = "http://10.3.64.200:8081/#"
val UI_MAIN_URL = "http://test-cc-tt-front-new.orangenet.org.cn/#" //测试
// val UI_MAIN_URL = "https://cc-tt-front.srccwl.com/#" //生产
// val UI_MAIN_URL = "http://test-cc-tt-front-new.orangenet.org.cn/#" //测试
val UI_MAIN_URL = "http://cc-tts-front.srccwl.com/#" //生产
//隐私协议地址
val HTML_HOST_PRIVACY="https://sdk-static.srccwl.com/tt_html/"
......
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