|
@@ -17,6 +17,7 @@ import com.sheep.gamegroup.view.activity.AskGetMoneyAct;
|
|
|
import com.sheep.gamegroup.view.activity.AuthenticationAct;
|
|
import com.sheep.gamegroup.view.activity.AuthenticationAct;
|
|
|
import com.sheep.gamegroup.view.activity.BindDataAct;
|
|
import com.sheep.gamegroup.view.activity.BindDataAct;
|
|
|
import com.sheep.gamegroup.view.activity.BindOrChangeWeixinAct;
|
|
import com.sheep.gamegroup.view.activity.BindOrChangeWeixinAct;
|
|
|
|
|
+import com.sheep.gamegroup.view.activity.ChangeWxOrTelAct;
|
|
|
import com.sheep.gamegroup.view.activity.CommitWxAct;
|
|
import com.sheep.gamegroup.view.activity.CommitWxAct;
|
|
|
import com.sheep.gamegroup.view.activity.CommitWxCodeAct;
|
|
import com.sheep.gamegroup.view.activity.CommitWxCodeAct;
|
|
|
import com.sheep.gamegroup.view.activity.DialogActivity;
|
|
import com.sheep.gamegroup.view.activity.DialogActivity;
|
|
@@ -79,7 +80,8 @@ public class Jump2View {
|
|
|
*/
|
|
*/
|
|
|
public void goLoginView(Context context, Object o){
|
|
public void goLoginView(Context context, Object o){
|
|
|
Intent intent = new Intent(context, LoginAct.class);
|
|
Intent intent = new Intent(context, LoginAct.class);
|
|
|
- intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
|
|
|
|
|
+ if(o != null)
|
|
|
|
|
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
|
context.startActivity(intent);
|
|
context.startActivity(intent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -142,9 +144,9 @@ public class Jump2View {
|
|
|
* @param context
|
|
* @param context
|
|
|
* @param o
|
|
* @param o
|
|
|
*/
|
|
*/
|
|
|
- public void goWithdrawalResultview(Context context, Object o){
|
|
|
|
|
|
|
+ public void goWithdrawalResultview(Context context, String o){
|
|
|
Intent intent = new Intent(context, WithdrawalResultAct.class);
|
|
Intent intent = new Intent(context, WithdrawalResultAct.class);
|
|
|
- intent.putExtra(" amount", String.valueOf(o));
|
|
|
|
|
|
|
+ intent.putExtra(" amount", o);
|
|
|
context.startActivity(intent);
|
|
context.startActivity(intent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -154,6 +156,10 @@ public class Jump2View {
|
|
|
* @param o false:绑定 true:切换
|
|
* @param o false:绑定 true:切换
|
|
|
*/
|
|
*/
|
|
|
public void goBindOrChangeWeixinView(Context context, Object o){
|
|
public void goBindOrChangeWeixinView(Context context, Object o){
|
|
|
|
|
+ if(!isBindWeixin(context)){
|
|
|
|
|
+ goNoBindWx(context, o);
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
Intent intent = new Intent(context, BindOrChangeWeixinAct.class);
|
|
Intent intent = new Intent(context, BindOrChangeWeixinAct.class);
|
|
|
intent.putExtra("type",o==null?false:(boolean)o);
|
|
intent.putExtra("type",o==null?false:(boolean)o);
|
|
|
context.startActivity(intent);
|
|
context.startActivity(intent);
|
|
@@ -310,7 +316,7 @@ public class Jump2View {
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 跳转到个人中心界面
|
|
|
|
|
|
|
+ * 跳转到验证界面
|
|
|
* @param context
|
|
* @param context
|
|
|
* @param o
|
|
* @param o
|
|
|
*/
|
|
*/
|
|
@@ -319,6 +325,15 @@ public class Jump2View {
|
|
|
i.putExtra("info", o);
|
|
i.putExtra("info", o);
|
|
|
context.startActivity(i);
|
|
context.startActivity(i);
|
|
|
}
|
|
}
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跳转到未绑定微信界面
|
|
|
|
|
+ * @param context
|
|
|
|
|
+ * @param o
|
|
|
|
|
+ */
|
|
|
|
|
+ public void goNoBindWx(Context context, Object o){
|
|
|
|
|
+ Intent i = new Intent(context, ChangeWxOrTelAct.class);
|
|
|
|
|
+ context.startActivity(i);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|