Commit 1afd1821 authored by sheteng's avatar sheteng

分享落地页

parent 3fac8c07
...@@ -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) {
......
...@@ -6,3 +6,4 @@ yingyongbao ...@@ -6,3 +6,4 @@ yingyongbao
OPPO OPPO
baiduzhushou baiduzhushou
wufan wufan
share
\ No newline at end of file
...@@ -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
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