会员引导条件
This commit is contained in:
parent
f01a6d23f0
commit
e653bcb7e7
@ -87,7 +87,7 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
|
|
||||||
ZYTGooglePayUtils zytGooglePayUtils;
|
ZYTGooglePayUtils zytGooglePayUtils;
|
||||||
|
|
||||||
public UBJPrivateOllowFragment(){
|
public UBJPrivateOllowFragment() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -452,15 +452,15 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
private int current_pay_setting_id;
|
private int current_pay_setting_id;
|
||||||
private String current_order_code;
|
private String current_order_code;
|
||||||
|
|
||||||
private GSGooglePayInfo gsGooglePayInfo ;
|
private GSGooglePayInfo gsGooglePayInfo;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
seenMarkView.getUserInfo();
|
seenMarkView.getUserInfo();
|
||||||
// if (!TIndicator.is_Vip() && TimeUtils.vipPurchaseIsOpen() && vipPurchaseDialog == null) {
|
if (!TIndicator.is_Vip() && TimeUtils.vipPurchaseIsOpen() && vipPurchaseDialog == null) {
|
||||||
zytGooglePayUtils = ZYTGooglePayUtils.getInstance(getActivity(), purchase -> {
|
zytGooglePayUtils = ZYTGooglePayUtils.getInstance(getActivity(), purchase -> {
|
||||||
gsGooglePayInfo = new GSGooglePayInfo();
|
gsGooglePayInfo = new GSGooglePayInfo();
|
||||||
gsGooglePayInfo.setOrder_code(current_order_code);
|
gsGooglePayInfo.setOrder_code(current_order_code);
|
||||||
gsGooglePayInfo.setPay_setting_id(String.valueOf(current_pay_setting_id));
|
gsGooglePayInfo.setPay_setting_id(String.valueOf(current_pay_setting_id));
|
||||||
gsGooglePayInfo.setPkg_name(getContext().getPackageName());
|
gsGooglePayInfo.setPkg_name(getContext().getPackageName());
|
||||||
@ -472,7 +472,7 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
}, (purchase, str) -> {
|
}, (purchase, str) -> {
|
||||||
|
|
||||||
PAYLoginHeaddefault.revealToast(str, 0);
|
PAYLoginHeaddefault.revealToast(str, 0);
|
||||||
if(purchase!=null){
|
if (purchase != null) {
|
||||||
gsGooglePayInfo = new GSGooglePayInfo();
|
gsGooglePayInfo = new GSGooglePayInfo();
|
||||||
gsGooglePayInfo.setOrder_code(current_order_code);
|
gsGooglePayInfo.setOrder_code(current_order_code);
|
||||||
gsGooglePayInfo.setPay_setting_id(String.valueOf(current_pay_setting_id));
|
gsGooglePayInfo.setPay_setting_id(String.valueOf(current_pay_setting_id));
|
||||||
@ -501,7 +501,7 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
});
|
});
|
||||||
zytGooglePayUtils.startConnection(connect -> {
|
zytGooglePayUtils.startConnection(connect -> {
|
||||||
isConnect = connect;
|
isConnect = connect;
|
||||||
if(isConnect){
|
if (isConnect) {
|
||||||
seenMarkView.getPaySetting(0, 0);
|
seenMarkView.getPaySetting(0, 0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -523,7 +523,7 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
});
|
});
|
||||||
vipPurchaseDialog.show();
|
vipPurchaseDialog.show();
|
||||||
|
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private long dismissUniqueCookieCorePlay() {
|
private long dismissUniqueCookieCorePlay() {
|
||||||
@ -689,7 +689,7 @@ public class UBJPrivateOllowFragment extends Fragment {
|
|||||||
if (imaCloseStroke != null) {
|
if (imaCloseStroke != null) {
|
||||||
PAYLoginHeaddefault.revealToast(translates != null ? translates.getGleestream_googlepay_success() : getString(R.string.google_pay_success), 0);
|
PAYLoginHeaddefault.revealToast(translates != null ? translates.getGleestream_googlepay_success() : getString(R.string.google_pay_success), 0);
|
||||||
seenMarkView.getUserInfo();
|
seenMarkView.getUserInfo();
|
||||||
}else{
|
} else {
|
||||||
PAYLoginHeaddefault.revealToast(translates != null ? translates.getGleestream_network_error() : getString(R.string.beanFollowlist), 0);
|
PAYLoginHeaddefault.revealToast(translates != null ? translates.getGleestream_network_error() : getString(R.string.beanFollowlist), 0);
|
||||||
if (gsGooglePayInfo != null) {
|
if (gsGooglePayInfo != null) {
|
||||||
TIndicator.savePayOrder(gsGooglePayInfo);
|
TIndicator.savePayOrder(gsGooglePayInfo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user