12 2021 档案

摘要:await Task.Run(async () => { await Task.Delay(3000); }); 阅读全文
posted @ 2021-12-28 15:07 开发晋级之路 阅读(14) 评论(0) 推荐(0)
摘要:public byte[] ImageToByte(string base64) { base64 = base64.Replace("data:image/png;base64,", "").Replace("data:image/jgp;base64,", "") .Replace("data: 阅读全文
posted @ 2021-12-24 14:40 开发晋级之路 阅读(451) 评论(0) 推荐(0)
摘要:public string PostMember(byte[] imgBytes, string keyName = null, string fileName = null) { string URL = "https://openapi.baidu.com/file/2.0/b2b_tp/off 阅读全文
posted @ 2021-12-22 15:30 开发晋级之路 阅读(103) 评论(0) 推荐(0)
摘要:string str="123&张测试分隔符"; 第一种通过字符分割例如& string[] strs= string.split('&'); 第二种通过字符串分割例如:张测 string[] strs= Regex.Split(str, "张测"); 第三种通过字符串分割例如:张测 string[ 阅读全文
posted @ 2021-12-21 10:13 开发晋级之路 阅读(677) 评论(0) 推荐(0)