增加链接包显示支付判断
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user