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
518ef4a0
Commit
518ef4a0
authored
Mar 10, 2022
by
liusheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '11a-dev' into cc-dev
parents
525af62e
626ea440
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
app/src/main/java/com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
...com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
+2
-3
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
+1
-1
No files found.
app/src/main/java/com/ccwangluo/accelerator/ui/web/CommonWebViewFragment.kt
View file @
518ef4a0
...
...
@@ -86,20 +86,19 @@ class CommonWebViewFragment : XPageFragment() {
}
override
fun
onResume
()
{
Log
.
e
(
"====onResume"
,
"===="
)
agentWeb
?.
getWebLifeCycle
()
?.
onResume
()
super
.
onResume
()
refreshLogin
()
agentWeb
?.
jsAccessEntrace
?.
quickCallJs
(
"onResume"
)
}
private
fun
refreshLogin
()
{
LoginUtils
.
token
?.
let
{
Log
.
e
(
"refreshLogin"
,
"===token:"
+
LoginUtils
.
token
)
agentWeb
?.
getJsAccessEntrace
()
?.
quickCallJs
(
"userToken"
,
it
)
}
?:
let
{
Log
.
e
(
"clearToken"
,
"===token"
)
agentWeb
?.
getJsAccessEntrace
()
?.
quickCallJs
(
"clearToken"
)
}
...
...
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
View file @
518ef4a0
...
...
@@ -12,7 +12,7 @@ object HttpConfig {
* 主页h5
*/
val
UI_MAIN_URL
=
"https://test-cc-tt-front.orangenet.org.cn/#"
//测试
//val UI_MAIN_URL = "http://10.3.
0.217
:8080/#"
//val UI_MAIN_URL = "http://10.3.
64.200
:8080/#"
//val UI_MAIN_URL = "https://cc-tt-front.srccwl.com/#" //生产
//隐私协议地址
...
...
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