修改统计功能的参数

This commit is contained in:
zhangqinghe
2015-01-16 10:50:31 +08:00
parent 4e687db4d3
commit ca72c5eba1
2 changed files with 11 additions and 6 deletions

View File

@@ -18,15 +18,15 @@ JPushPlugin.prototype.call_native = function(name, args, callback){
}
//public plugin function
JPushPlugin.prototype.startLogPageView = function(data){
JPushPlugin.prototype.startLogPageView = function(pageName){
if(this.isPlatformIOS()){
this.call_native( "startLogPageView",[data],null);
this.call_native( "startLogPageView",[pageName],null);
}
}
JPushPlugin.prototype.stopLogPageView = function(data){
JPushPlugin.prototype.stopLogPageView = function(pageName){
if(this.isPlatformIOS()){
this.call_native( "stopLogPageView",[data],null);
this.call_native( "stopLogPageView",[pageName],null);
}
}