|
@@ -367,21 +367,22 @@ public class RechargeAct extends BaseActivity {
|
|
|
CommonUtil.getInstance().alipay(this, payInfo, true, new AbsObserver<String>() {
|
|
CommonUtil.getInstance().alipay(this, payInfo, true, new AbsObserver<String>() {
|
|
|
@Override
|
|
@Override
|
|
|
public void onNext(String result) {
|
|
public void onNext(String result) {
|
|
|
|
|
+
|
|
|
LogUtil.println(ActVip.class.getSimpleName(), String.format(Locale.CHINA, "alipay onNext('%s')", result));
|
|
LogUtil.println(ActVip.class.getSimpleName(), String.format(Locale.CHINA, "alipay onNext('%s')", result));
|
|
|
if ("9000".equals(result)) {
|
|
if ("9000".equals(result)) {
|
|
|
ApiJSONUtil.missionExecute(4);
|
|
ApiJSONUtil.missionExecute(4);
|
|
|
}
|
|
}
|
|
|
- if ("9000".equals(result)) {
|
|
|
|
|
- Intent intent = new Intent();
|
|
|
|
|
- intent.putExtra("amount", Integer.parseInt(mAmount));
|
|
|
|
|
- setResult(777, intent);
|
|
|
|
|
- } else {
|
|
|
|
|
|
|
+// if ("9000".equals(result)) {
|
|
|
|
|
+// Intent intent = new Intent();
|
|
|
|
|
+// intent.putExtra("amount", Integer.parseInt(mAmount));
|
|
|
|
|
+// setResult(777, intent);
|
|
|
|
|
+// } else {
|
|
|
if (forResult) {
|
|
if (forResult) {
|
|
|
Jump2View.getInstance().goRechargeResult(RechargeAct.this, result, fromPackage, fromOrient, null);
|
|
Jump2View.getInstance().goRechargeResult(RechargeAct.this, result, fromPackage, fromOrient, null);
|
|
|
} else {
|
|
} else {
|
|
|
Jump2View.getInstance().goRechargeResultAct(RechargeAct.this, result);
|
|
Jump2View.getInstance().goRechargeResultAct(RechargeAct.this, result);
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+// }
|
|
|
finish();
|
|
finish();
|
|
|
}
|
|
}
|
|
|
|
|
|