3
This commit is contained in:
@@ -518,11 +518,17 @@ public class BaseApplication extends Application {
|
||||
currentActivity.startActivity(intentv);
|
||||
}
|
||||
} else if(event.equals("buyPointPage")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
// 我的积分页:不再依赖 currentActivity,直接使用 Application 作为 Context 启动页面
|
||||
Intent intentv = new Intent(BaseApplication.this, cn.shangyu.gdxzExpert.pointsmall.BuyIntegerActivty.class);
|
||||
intentv.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(intentv);
|
||||
} else if(event.equals("payPptPage")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
if (currentActivity != null) {
|
||||
LogUtil.i("payPptPage", msgValue);
|
||||
JSONObject jsonObject = new JSONObject(msgValue);
|
||||
@@ -538,6 +544,9 @@ public class BaseApplication extends Application {
|
||||
currentActivity.startActivity(intent);
|
||||
}
|
||||
}else if(event.equals("payPonitPage")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
// 支付积分页:不再依赖 currentActivity,直接使用 Application 作为 Context 启动页面
|
||||
LogUtil.i("payPointPage", msgValue);
|
||||
JSONObject jsonObject = new JSONObject(msgValue);
|
||||
@@ -559,6 +568,9 @@ public class BaseApplication extends Application {
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(intent);
|
||||
}else if(event.equals("goPatientMsg")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
Intent intent = null;
|
||||
if (currentActivity != null) {
|
||||
intent = new Intent(currentActivity, cn.shangyu.gdxzExpert.activity.MyPatientActivity.class);
|
||||
@@ -573,6 +585,9 @@ public class BaseApplication extends Application {
|
||||
startActivity(intent);
|
||||
}
|
||||
}else if(event.equals("goSendMsg")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
if (currentActivity != null) {
|
||||
String patientUuid = msgValue;
|
||||
try {
|
||||
@@ -615,6 +630,9 @@ public class BaseApplication extends Application {
|
||||
startActivity(intent);
|
||||
}
|
||||
}else if(event.equals("goGroupMessagePage")) {
|
||||
if (!UIUtils.checkLoginAndJump(currentActivity != null ? currentActivity : BaseApplication.this)) {
|
||||
return;
|
||||
}
|
||||
Intent intent = null;
|
||||
if (currentActivity != null) {
|
||||
intent = new Intent(currentActivity, cn.shangyu.gdxzExpert.activity.SendGroupMsgListActivity.class);
|
||||
|
||||
Reference in New Issue
Block a user