function update() {
	mui.getJSON(server, {
		"appid": plus.runtime.appid,
		"version": plus.runtime.version,
		"imei": plus.device.imei
	}, function(data) {
		if (data.status) {
			plus.nativeUI.confirm(data.note, function(event) {
				if (0 == event.index) {
					plus.runtime.openURL(data.url);
				}
			}, data.title, ["立即更新", "取　　消"]);
		}
	});
}
function update() {
	mui.getJSON(server, {
		"appid": plus.runtime.appid,
		"version": plus.runtime.version,
		"imei": plus.device.imei
	}, function(data) {
		if (data.status) {
			plus.nativeUI.confirm(data.note, function(event) {
				if (0 == event.index) {
					plus.runtime.openURL(data.url);
				}
			}, data.title, ["立即更新", "取　　消"]);
		}
	});
}
function update ( ) { mui . getJSON ( server , { "appid" : plus . runtime . appid , "version" : plus . runtime . version , "imei" : plus . device . imei } , function ( data ) { if ( data . status ) { plus . nativeUI . confirm ( data . note , function ( event ) { if ( 0 == event . index ) { plus . runtime . openURL ( data . url ) ; } } , data . title , [ "立即更新", "取　　消" ] ; } } ) ; }
获取升级描述文件服务器地址
获取升级描述文件服务器地址
update the device