上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 在vs 环境中,可以通过正则表达式删除代码的注释 我们可以使用 Ctrl+H 中替换方式来解决,把注释都替换为为空,这样就解决了删除注释的目的。在上面方框填入正则表达式 【1】删除 net 注释 /* */:/\*{1,2}[\s\S]*?\*/ 【2】删除 net注释 //:^\s*//[^/][ 阅读全文
posted @ 2022-10-09 14:29 极客船长 阅读(395) 评论(0) 推荐(0)
摘要: 1 public static int GetStringHashCode(string value) 2 { 3 int h = 0; // 默认值是0 4 if (value.Length > 0) 5 { 6 for (int i = 0; i < value.Length; i++) 7 { 阅读全文
posted @ 2022-09-27 15:48 极客船长 阅读(155) 评论(0) 推荐(0)
摘要: 方法1:先查询,根据查询结果判断使用insert或者update IF EXISTS (SELECT 1 FROM table_A WHERE Id = @Id) BEGIN UPDATE dbo.table_A SET Value = @Value WHERE Id = @Id; END ELSE 阅读全文
posted @ 2022-09-26 10:29 极客船长 阅读(691) 评论(0) 推荐(0)
摘要: //获取返回数据 var jsondata = pm.response.json(); //判断响应时间是否小于200ms pm.test("Response time is less than 20ms", function () { pm.expect(pm.response.responseT 阅读全文
posted @ 2022-09-24 17:48 极客船长 阅读(485) 评论(0) 推荐(0)
摘要: create database test_snap --快照名 on ( name = test, filename = 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQL\MSSQL\DATA\test_snap.mdf'--快照要保存的位置 阅读全文
posted @ 2022-09-19 15:19 极客船长 阅读(117) 评论(0) 推荐(0)
摘要: execute sp_rename 'Open_WxMessage.IsPush','IsRead' 阅读全文
posted @ 2022-09-16 11:20 极客船长 阅读(55) 评论(0) 推荐(0)
摘要: alter table Open_WxVisitRecords alter column AppId [varchar](50) not null; 阅读全文
posted @ 2022-09-16 10:32 极客船长 阅读(41) 评论(0) 推荐(0)
摘要: 1 /// <summary> 2 /// 上传文件 3 /// </summary> 4 /// <param name="url"></param> 5 /// <param name="files"></param> 6 /// <param name="data"></param> 7 // 阅读全文
posted @ 2022-09-15 18:06 极客船长 阅读(1390) 评论(0) 推荐(0)
摘要: 1 WetSocketRequestModel model = new WetSocketRequestModel 2 { 3 type= "open_connect", 4 uid = 1212, 5 touid = 232, 6 msg = new MsgModel 7 { 8 content 阅读全文
posted @ 2022-09-15 18:04 极客船长 阅读(641) 评论(0) 推荐(0)
摘要: (uint)FromUserName.GetHashCode()%100000 阅读全文
posted @ 2022-09-15 17:57 极客船长 阅读(51) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页