09 2022 档案

摘要: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 极客船长 阅读(140) 评论(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 极客船长 阅读(593) 评论(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 极客船长 阅读(435) 评论(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 极客船长 阅读(93) 评论(0) 推荐(0) 编辑
摘要:execute sp_rename 'Open_WxMessage.IsPush','IsRead' 阅读全文
posted @ 2022-09-16 11:20 极客船长 阅读(41) 评论(0) 推荐(0) 编辑
摘要:alter table Open_WxVisitRecords alter column AppId [varchar](50) not null; 阅读全文
posted @ 2022-09-16 10:32 极客船长 阅读(17) 评论(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 极客船长 阅读(1353) 评论(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 极客船长 阅读(612) 评论(0) 推荐(0) 编辑
摘要:(uint)FromUserName.GetHashCode()%100000 阅读全文
posted @ 2022-09-15 17:57 极客船长 阅读(34) 评论(0) 推荐(0) 编辑
摘要:第一种:搜索cmd应用,然后点击以管理员身份运行 第二种:快捷键打开,先win+r 输入cmd,将下一步点击Enter 换为Ctrl+Shift+Enter,直接以管理员打开cmd。 阅读全文
posted @ 2022-09-02 18:09 极客船长 阅读(4427) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示