|
@@ -170,30 +170,31 @@ public class TestUtil {
|
|
|
* @param activity
|
|
* @param activity
|
|
|
*/
|
|
*/
|
|
|
public static void test(final Activity activity) {
|
|
public static void test(final Activity activity) {
|
|
|
- final String[] items = {"交通银行信用卡测试", "浦发银行信用卡测试"};
|
|
|
|
|
- AlertDialog dialog = new AlertDialog.Builder(activity).setTitle("请选择要测试的信用卡")
|
|
|
|
|
- .setItems(items, new DialogInterface.OnClickListener() {
|
|
|
|
|
-
|
|
|
|
|
- @Override
|
|
|
|
|
- public void onClick(DialogInterface dialog, int which) {
|
|
|
|
|
- CreditCard creditCard = new CreditCard();
|
|
|
|
|
- creditCard.setCardName(items[which]);
|
|
|
|
|
- switch (items[which]) {
|
|
|
|
|
- case "交通银行信用卡测试":
|
|
|
|
|
- creditCard.setName("交通银行信用卡");
|
|
|
|
|
-// creditCard.setLoadUrl("http://mobi.yixiaozhao.jiyuonline.com/bank/10");
|
|
|
|
|
- creditCard.setLoadUrl("https://creditcardapp.bankcomm.com/applynew/front/apply/campus/index.html?trackCode=A021316596752");
|
|
|
|
|
- creditCard.setScriptUrl("http://10.8.210.172:8095/BCM_Insert.js");
|
|
|
|
|
- break;
|
|
|
|
|
- case "浦发银行信用卡测试":
|
|
|
|
|
- creditCard.setName("浦发银行信用卡");
|
|
|
|
|
- creditCard.setLoadUrl("https://ecentre.spdbccc.com.cn/creditcard/indexActivity.htm?data=P754372&itemcode=2017000032");
|
|
|
|
|
- creditCard.setScriptUrl("http://10.8.210.172:8095/SPDB_Insert.js");
|
|
|
|
|
- break;
|
|
|
|
|
- }
|
|
|
|
|
- Jump2View.getInstance().goCreditCardWeb(activity, creditCard);
|
|
|
|
|
- }
|
|
|
|
|
- }).create();
|
|
|
|
|
- dialog.show();
|
|
|
|
|
|
|
+ Jump2View.getInstance().goMainGame(activity);
|
|
|
|
|
+// final String[] items = {"交通银行信用卡测试", "浦发银行信用卡测试"};
|
|
|
|
|
+// AlertDialog dialog = new AlertDialog.Builder(activity).setTitle("请选择要测试的信用卡")
|
|
|
|
|
+// .setItems(items, new DialogInterface.OnClickListener() {
|
|
|
|
|
+//
|
|
|
|
|
+// @Override
|
|
|
|
|
+// public void onClick(DialogInterface dialog, int which) {
|
|
|
|
|
+// CreditCard creditCard = new CreditCard();
|
|
|
|
|
+// creditCard.setCardName(items[which]);
|
|
|
|
|
+// switch (items[which]) {
|
|
|
|
|
+// case "交通银行信用卡测试":
|
|
|
|
|
+// creditCard.setName("交通银行信用卡");
|
|
|
|
|
+//// creditCard.setLoadUrl("http://mobi.yixiaozhao.jiyuonline.com/bank/10");
|
|
|
|
|
+// creditCard.setLoadUrl("https://creditcardapp.bankcomm.com/applynew/front/apply/campus/index.html?trackCode=A021316596752");
|
|
|
|
|
+// creditCard.setScriptUrl("http://10.8.210.172:8095/BCM_Insert.js");
|
|
|
|
|
+// break;
|
|
|
|
|
+// case "浦发银行信用卡测试":
|
|
|
|
|
+// creditCard.setName("浦发银行信用卡");
|
|
|
|
|
+// creditCard.setLoadUrl("https://ecentre.spdbccc.com.cn/creditcard/indexActivity.htm?data=P754372&itemcode=2017000032");
|
|
|
|
|
+// creditCard.setScriptUrl("http://10.8.210.172:8095/SPDB_Insert.js");
|
|
|
|
|
+// break;
|
|
|
|
|
+// }
|
|
|
|
|
+// Jump2View.getInstance().goCreditCardWeb(activity, creditCard);
|
|
|
|
|
+// }
|
|
|
|
|
+// }).create();
|
|
|
|
|
+// dialog.show();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|