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
1afd1821
Commit
1afd1821
authored
Apr 07, 2022
by
sheteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享落地页
parent
3fac8c07
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
15 deletions
+19
-15
app/src/main/java/com/ccwangluo/accelerator/adapter/KotlinDataAdapter.kt
...va/com/ccwangluo/accelerator/adapter/KotlinDataAdapter.kt
+1
-1
app/src/main/java/com/ccwangluo/accelerator/utils/SysUtils.kt
...src/main/java/com/ccwangluo/accelerator/utils/SysUtils.kt
+15
-12
channels.txt
channels.txt
+2
-1
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/adapter/KotlinDataAdapter.kt
View file @
1afd1821
app/src/main/java/com/ccwangluo/accelerator/utils/SysUtils.kt
View file @
1afd1821
...
@@ -120,6 +120,7 @@ object SysUtils {
...
@@ -120,6 +120,7 @@ object SysUtils {
}
}
fun
initChannel
(
context
:
Context
)
{
fun
initChannel
(
context
:
Context
)
{
if
(
SettingSPUtils
.
channel
==
0
)
{
val
channel
=
PackerNg
.
getChannel
(
context
)
val
channel
=
PackerNg
.
getChannel
(
context
)
if
(!
channel
.
isNullOrBlank
())
{
if
(!
channel
.
isNullOrBlank
())
{
SettingSPUtils
.
channel
=
when
(
channel
)
{
SettingSPUtils
.
channel
=
when
(
channel
)
{
...
@@ -131,10 +132,12 @@ object SysUtils {
...
@@ -131,10 +132,12 @@ object SysUtils {
"OPPO"
->
6
"OPPO"
->
6
"baiduzhushou"
->
7
"baiduzhushou"
->
7
"wufan"
->
8
"wufan"
->
8
"share"
->
9
else
->
1
else
->
1
}
}
}
}
}
}
}
fun
joinQQGroup
(
context
:
Context
)
{
fun
joinQQGroup
(
context
:
Context
)
{
...
...
channels.txt
View file @
1afd1821
...
@@ -6,3 +6,4 @@ yingyongbao
...
@@ -6,3 +6,4 @@ yingyongbao
OPPO
OPPO
baiduzhushou
baiduzhushou
wufan
wufan
share
\ No newline at end of file
core/src/main/java/com/github/shadowsocks/http/HttpConfig.kt
View file @
1afd1821
...
@@ -38,5 +38,5 @@ object HttpConfig {
...
@@ -38,5 +38,5 @@ object HttpConfig {
val
MEMBER_CENTER
=
"/memberCenter"
val
MEMBER_CENTER
=
"/memberCenter"
//分享落地页
//分享落地页
val
SHARE_URL
=
"http://ttspeed.saiqinkj.com/
index_pc
.html"
val
SHARE_URL
=
"http://ttspeed.saiqinkj.com/
share
.html"
}
}
\ No newline at end of file
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