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