public class RemoteDownload { public static void DownLoad(string addressUrl,string localName) { //下载文件 System.NET.WebClient myWebClient = new System.Net.WebClient(); myWebClient.DownloadFile(@"/10.2.0.254/software/01279.lic.txt", "testdownl
public class AliyunHandle { public static string accessKeyId = "a1uI5xxxxxxxxxrP4H"; public static string accessKeySecret = "9JDdggMdT2cxxxxxxxxxxxxxxx5VaE9z"; public static string endpoint = "oss-cn-qingdao.aliyuncs.com"; pu
function getUrlParam(name){ var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); var result = window.location.search.substr(1).match(reg); return result ? decodeURIComponent(result[2]) : null; } 其中window.location.search为获取链接参数的方法,之前一直使用wind