|
|
@@ -7,7 +7,6 @@ import android.os.Looper;
|
|
|
import android.os.Message;
|
|
|
import android.text.TextUtils;
|
|
|
|
|
|
-import com.alipay.sdk.app.PayTask;
|
|
|
import com.common.LogUtil;
|
|
|
import com.common.thread.ThreadPool;
|
|
|
import com.modular.apputils.listener.OnPlayListener;
|
|
|
@@ -91,16 +90,16 @@ public class AliPlay extends Handler {
|
|
|
}
|
|
|
|
|
|
private void payThread(Activity ct, String orderInfo, OnPlayListener onPlayListener) throws Exception {
|
|
|
- PayTask alipay = new PayTask(ct);
|
|
|
- LogUtil.i("orderInfo=" + orderInfo);
|
|
|
- Map<String, String> result = alipay.payV2(orderInfo, true);
|
|
|
- LogUtil.i(result.toString());
|
|
|
- Message msg = new Message();
|
|
|
- Bundle bundle = new Bundle();
|
|
|
- bundle.putSerializable("onPlayListener", onPlayListener);
|
|
|
- msg.setData(bundle);
|
|
|
- msg.what = SDK_PAY_FLAG;
|
|
|
- msg.obj = result;
|
|
|
- sendMessage(msg);
|
|
|
+// PayTask alipay = new PayTask(ct);
|
|
|
+// LogUtil.i("orderInfo=" + orderInfo);
|
|
|
+// Map<String, String> result = alipay.payV2(orderInfo, true);
|
|
|
+// LogUtil.i(result.toString());
|
|
|
+// Message msg = new Message();
|
|
|
+// Bundle bundle = new Bundle();
|
|
|
+// bundle.putSerializable("onPlayListener", onPlayListener);
|
|
|
+// msg.setData(bundle);
|
|
|
+// msg.what = SDK_PAY_FLAG;
|
|
|
+// msg.obj = result;
|
|
|
+// sendMessage(msg);
|
|
|
}
|
|
|
}
|