04 2021 档案
摘要:use DB; -- 添加索引,index_type为索引名称,student为表名 type为列表 ALTER TABLE `student` ADD INDEX index_type (`type`) -- 删除索引,index_type为索引名称,student为表名 drop index i
阅读全文
摘要:(from b in _db.order_info where b.status != 3 group new { b.batchnumber, b.create_time } by new { b.merchant_id, b.batchnumber } into g select new Use
阅读全文
摘要:var _obj= JsonConvert.DeserializeObject<responseResult>(responseStr); if (responseObj.ActionResult == "1") { JArray _jarray= responseObj.Data as JArra
阅读全文
摘要:/// <summary> /// 获取客户Ip /// </summary> /// <param name="context"></param> /// <returns></returns> public static string GetClientUserIp(this HttpConte
阅读全文
摘要:mysql用法: select inet_aton('192.168.2.1'); -- 192.168.2.1 3232236033 select inet_ntoa(3232236033); c#用法: public static string IntToIp(long ipInt) { Str
阅读全文