Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
59889f0a
Commit
59889f0a
authored
Sep 13, 2022
by
sheteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.0 开发 上线
parent
e502bfc9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/src/main/java/com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
...com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
+1
-1
buildSrc/src/main/kotlin/Helpers.kt
buildSrc/src/main/kotlin/Helpers.kt
+1
-1
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
+4
-4
No files found.
app/src/main/java/com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
View file @
59889f0a
...
...
@@ -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-tt
s
-front"
)
||
it
.
contains
(
"ttaccelerator"
))
{
binding
.
webBar
.
visibility
=
View
.
GONE
}
else
{
binding
.
webBar
.
visibility
=
View
.
VISIBLE
...
...
buildSrc/src/main/kotlin/Helpers.kt
View file @
59889f0a
...
...
@@ -57,7 +57,7 @@ fun Project.setupCore() {
android
.
apply
{
defaultConfig
{
versionCode
=
4
versionName
=
"1.
1.0
"
versionName
=
"1.
0.4
"
}
compileOptions
.
isCoreLibraryDesugaringEnabled
=
true
lintOptions
{
...
...
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
View file @
59889f0a
...
...
@@ -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/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment