Commit 22d888aa authored by zjz1994's avatar zjz1994

代码暂存

parent 1aa8ea03
...@@ -5,7 +5,23 @@ export class snpmAdStatic{ ...@@ -5,7 +5,23 @@ export class snpmAdStatic{
* @param from 来源1.icon首页小图标,2.dialog大弹窗广告,3.bottom部分弹窗下挂载的 * @param from 来源1.icon首页小图标,2.dialog大弹窗广告,3.bottom部分弹窗下挂载的
*/ */
static snpmAdReport(type:string,from:string,adata:object){ static snpmAdReport(type:string,from:string,adata:object){
var params:object;
switch(from){
case 'icon':
break;
case 'dialog':
break;
case 'bottom':
break;
default:
console.error("未定义snpm上报");
break;
}
if(type=="show"){
this.showAdReport(params);
}else if(type=="click"){
this.showAdReport(params);
}
} }
/** /**
* 苏宁曝光上报,snpm * 苏宁曝光上报,snpm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment