|
|
|
@ -5,7 +5,6 @@ $(function (){
|
|
|
|
|
window.RPayPlus = {
|
|
|
|
|
// 向Native端发送消息,用于实现:JS->Native
|
|
|
|
|
send: function(methodName, param, callback) {
|
|
|
|
|
alert(2);
|
|
|
|
|
var thisId = 0;
|
|
|
|
|
if(callback){
|
|
|
|
|
thisId = new Date().getTime();; // 获取唯一id
|
|
|
|
@ -17,7 +16,6 @@ $(function (){
|
|
|
|
|
callbackId: thisId // 传到 Native 端
|
|
|
|
|
};
|
|
|
|
|
var msg = JSON.stringify(json);
|
|
|
|
|
alert(msg);
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
|
|
|
|
if(isiOS){
|
|
|
|
|