let infoDictionary = Bundle.main.infoDictionary!let appversion = infoDictionary["CFBundleShortVersionString"] as! String //获取app的版本号
let deviceId = UIDevice.current.identifierForVendor?.description ?? "" //可以作为标识设备的唯一编号