增加链接包显示支付判断

This commit is contained in:
老皮
2024-10-14 13:56:23 +08:00
parent e50fbefdc1
commit 20b3c421e7
12 changed files with 132 additions and 47 deletions

View File

@@ -141,6 +141,15 @@ public class CommonAppConfig {
private int mAppIconRes;
private String mAppName;
private Boolean mTiBeautyEnable;//是否使用萌颜 true使用萌颜 false 使用基础美颜
private int pay_type; // 1、三方支付2官方支付3无响应
public int getPay_type() {
return pay_type;
}
public void setPay_type(int pay_type) {
this.pay_type = pay_type;
}
public String getUid() {
if (TextUtils.isEmpty(mUid)) {

View File

@@ -76,6 +76,17 @@ public class UserBean implements Parcelable {
private boolean isRequest = false;
// 支付方式 1、三方支付2官方支付3无响应
private int pay_type;
public int getPay_type() {
return pay_type;
}
public void setPay_type(int pay_type) {
this.pay_type = pay_type;
}
public boolean isRequest() {
return isRequest;
}

View File

@@ -521,6 +521,7 @@ public class IMLoginManager extends BaseCacheManager {
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
.params("uid", uid)
.params("token", token)
.params("key1","6tnym1br6lhu7")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {

View File

@@ -661,6 +661,7 @@ public class JavascriptInterfaceUtils {
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
.params("uid", IMLoginManager.get(mContext).getUserInfo().getId())
.params("token", IMLoginManager.get(mContext).getUserInfo().getToken())
.params("key1","6tnym1br6lhu7")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {

View File

@@ -1564,4 +1564,5 @@
<string name="game_dialog_activity_achievements_5">5連桿</string>
<string name="game_dialog_activity_achievements_6">6連桿</string>
<string name="game_dialog_activity_achievements_7">7連桿</string>
<string name="pay_type">充值維護中,請稍後再試</string>
</resources>

View File

@@ -1572,4 +1572,5 @@
<string name="game_dialog_activity_achievements_5">5 Combo</string>
<string name="game_dialog_activity_achievements_6">6 Combo</string>
<string name="game_dialog_activity_achievements_7">7 Combo</string>
<string name="pay_type">Recharge is under maintenance. Please try again later.</string>
</resources>