Commit 4bb683a6 authored by mengcuiguang2's avatar mengcuiguang2

添加插屏逻辑

parent b9c72906
......@@ -873,6 +873,10 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
if (vipList != null && vipList!!.size > 0) {
val vipBean = vipList!![vipAdapter.getPosition()]
val payToModel = vipBean.payToModel
if (vipBean.trial == 1) {
AppPreferencesManager.get().put(Constant.USER_NO_MATCH, true)
}
//0 app内部,1.只签约转支付宝浏览器支付 2.带uid转支付宝小程序(暂定只有一个小程序)
when (payToModel) {
2 -> {
......@@ -883,9 +887,6 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
}
}
else -> {
if (vipBean.trial == 1) {
AppPreferencesManager.get().put(Constant.USER_NO_MATCH, true)
}
vipPresenter.getVipPayParams(
payChannel,
pid, isAliPayInstalled(),
......
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