阅读(4095) (0)

_start.appUninstall 应用卸载

2017-02-07 15:06:37 更新
  • 函数原型

/* 卸载应用 
 * @number appid  应用appid
 */
 _start.appUninstall=function(appid){
 	jQuery.getJSON(_config.systemurl+'&op=dzzcp&do=appuninstall&appid='+appid,function(json){
 	    if(json.error){		
 	    	   showmessage(json.error,'error',3000,1,'right-bottom');		    }else{			
 	    	   if(json.icoid>0) _ico.removeIcoid(json.icoid);			          _start.removeIco(appid);		
 	    }
      });
 };