Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
c6810392
Commit
c6810392
authored
May 31, 2022
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :小象省钱 [实现方案] :加入客服链接
parent
2f470410
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
NetConfig.java
cms/src/main/java/com/zxhl/cms/common/NetConfig.java
+1
-1
SplashActivity.kt
.../main/java/com/zxbw/modulemain/activity/SplashActivity.kt
+3
-0
HomeFragment.kt
...rc/main/java/com/zxbw/modulemain/fragment/HomeFragment.kt
+3
-1
No files found.
cms/src/main/java/com/zxhl/cms/common/NetConfig.java
View file @
c6810392
...
@@ -197,7 +197,7 @@ public class NetConfig {
...
@@ -197,7 +197,7 @@ public class NetConfig {
public
static
String
WEB_URL_ABOUT_US
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/aboutMe.html?version="
+
Constant
.
Param
.
vn
+
"&appName=小象省钱&company=北京志信博文科技发展有限公司"
;
public
static
String
WEB_URL_ABOUT_US
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/aboutMe.html?version="
+
Constant
.
Param
.
vn
+
"&appName=小象省钱&company=北京志信博文科技发展有限公司"
;
public
static
String
WEB_URL_CUSTOMER_SERVICE
=
"https://1568685.s4.udesk.cn/im_client/?web_plugin_id=
25351
"
;
public
static
String
WEB_URL_CUSTOMER_SERVICE
=
"https://1568685.s4.udesk.cn/im_client/?web_plugin_id=
35245
"
;
public
static
String
WEB_URL_ZENGZHI_SERVICE
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/xxsq_zz_server.html"
;
public
static
String
WEB_URL_ZENGZHI_SERVICE
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/xxsq_zz_server.html"
;
public
static
String
WEB_URL_BUYER_KNOW
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/buyerKnow.html?version="
+
Constant
.
Param
.
vn
+
"&appName=幸运魔盒&company=北京志信博文科技发展有限公司"
;
public
static
String
WEB_URL_BUYER_KNOW
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/buyerKnow.html?version="
+
Constant
.
Param
.
vn
+
"&appName=幸运魔盒&company=北京志信博文科技发展有限公司"
;
public
static
String
WEB_URL_WEEK_RULE
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/week_activity_rule.html"
;
public
static
String
WEB_URL_WEEK_RULE
=
"https://newspool.zhangxinhulian.com/sspapiNovel/su/custom/xingyunmohe/week_activity_rule.html"
;
...
...
moduleMain/src/main/java/com/zxbw/modulemain/activity/SplashActivity.kt
View file @
c6810392
...
@@ -155,6 +155,9 @@ class SplashActivity : BaseActivity(), SplashContract.View {
...
@@ -155,6 +155,9 @@ class SplashActivity : BaseActivity(), SplashContract.View {
.
compose
(
RxSchedulers
.
observableIO2Main
())
.
compose
(
RxSchedulers
.
observableIO2Main
())
.
subscribe
(
object
:
BaseObserver
<
AppInEntity
>()
{
.
subscribe
(
object
:
BaseObserver
<
AppInEntity
>()
{
override
fun
onSuccess
(
result
:
AppInEntity
?)
{
override
fun
onSuccess
(
result
:
AppInEntity
?)
{
if
(!
result
?.
kefu_url
.
isNullOrEmpty
()){
NetConfig
.
H5
.
WEB_URL_CUSTOMER_SERVICE
=
result
?.
kefu_url
}
Constant
.
Switch
.
isOpenLogin
=
result
?.
login
.
equals
(
"1"
)
Constant
.
Switch
.
isOpenLogin
=
result
?.
login
.
equals
(
"1"
)
Constant
.
Switch
.
isOpenPayTips
=
result
?.
risk_open
.
equals
(
"1"
)
Constant
.
Switch
.
isOpenPayTips
=
result
?.
risk_open
.
equals
(
"1"
)
NetConfig
.
H5
.
WEB_URL_H5_PAY
=
result
?.
pay_h5_url
NetConfig
.
H5
.
WEB_URL_H5_PAY
=
result
?.
pay_h5_url
...
...
moduleMain/src/main/java/com/zxbw/modulemain/fragment/HomeFragment.kt
View file @
c6810392
...
@@ -14,6 +14,7 @@ import com.zxbw.modulemain.contract.HomeContract
...
@@ -14,6 +14,7 @@ import com.zxbw.modulemain.contract.HomeContract
import
com.zxbw.modulemain.presenter.HomePresenter
import
com.zxbw.modulemain.presenter.HomePresenter
import
com.zxhl.cms.common.Constant
import
com.zxhl.cms.common.Constant
import
com.zxhl.cms.common.FragmentAdapter
import
com.zxhl.cms.common.FragmentAdapter
import
com.zxhl.cms.common.NetConfig
import
com.zxhl.cms.common.base.BaseFragment
import
com.zxhl.cms.common.base.BaseFragment
import
com.zxhl.cms.net.ApiClient
import
com.zxhl.cms.net.ApiClient
import
com.zxhl.cms.net.RxSchedulers
import
com.zxhl.cms.net.RxSchedulers
...
@@ -22,6 +23,7 @@ import com.zxhl.cms.net.callback.BaseObserver
...
@@ -22,6 +23,7 @@ import com.zxhl.cms.net.callback.BaseObserver
import
com.zxhl.cms.net.model.box.AppInEntity
import
com.zxhl.cms.net.model.box.AppInEntity
import
com.zxhl.cms.net.model.box.TabEntity
import
com.zxhl.cms.net.model.box.TabEntity
import
com.zxhl.cms.net.model.qy.HomeBannerEntity
import
com.zxhl.cms.net.model.qy.HomeBannerEntity
import
com.zxhl.cms.utils.JumpUtils
import
com.zxhl.cms.utils.OnRecycleItemClickListener
import
com.zxhl.cms.utils.OnRecycleItemClickListener
import
com.zxhl.cms.utils.Utils
import
com.zxhl.cms.utils.Utils
import
kotlinx.android.synthetic.main.activity_layout_tb_goods_detail.*
import
kotlinx.android.synthetic.main.activity_layout_tb_goods_detail.*
...
@@ -61,7 +63,7 @@ class HomeFragment : BaseFragment(), HomeContract.View {
...
@@ -61,7 +63,7 @@ class HomeFragment : BaseFragment(), HomeContract.View {
showToast
(
"搜索"
)
showToast
(
"搜索"
)
}
}
id_img_kefu
.
setOnClickListener
{
id_img_kefu
.
setOnClickListener
{
showToast
(
"客服"
)
JumpUtils
.
webJump
(
"客服"
,
NetConfig
.
H5
.
WEB_URL_CUSTOMER_SERVICE
)
}
}
val
config
=
SettingPreference
.
getConfig
();
val
config
=
SettingPreference
.
getConfig
();
...
...
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