上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 32 下一页
摘要: use DB; -- 添加索引,index_type为索引名称,student为表名 type为列表 ALTER TABLE `student` ADD INDEX index_type (`type`) -- 删除索引,index_type为索引名称,student为表名 drop index i 阅读全文
posted @ 2021-04-27 15:34 低调码农哥! 阅读(90) 评论(0) 推荐(0) 编辑
摘要: (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 阅读全文
posted @ 2021-04-27 09:54 低调码农哥! 阅读(356) 评论(0) 推荐(0) 编辑
摘要: var _obj= JsonConvert.DeserializeObject<responseResult>(responseStr); if (responseObj.ActionResult == "1") { JArray _jarray= responseObj.Data as JArra 阅读全文
posted @ 2021-04-22 18:05 低调码农哥! 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取客户Ip /// </summary> /// <param name="context"></param> /// <returns></returns> public static string GetClientUserIp(this HttpConte 阅读全文
posted @ 2021-04-15 11:12 低调码农哥! 阅读(1777) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2021-04-12 17:53 低调码农哥! 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 大体思路,在上传后,在datable末尾动态添加一列row_id,然后需要给row_id赋值 DataColumn idColumn = new DataColumn(); idColumn.DataType = System.Type.GetType("System.Int32");//该列的数据 阅读全文
posted @ 2021-03-31 10:29 低调码农哥! 阅读(1291) 评论(0) 推荐(0) 编辑
摘要: 注:本实例是在dubbo-admin和zookeeper,已安装好的前提下操作的,关于两个的安装可以查看我前面的博客。 https://www.cnblogs.com/personblog/p/14537931.html https://www.cnblogs.com/personblog/p/13 阅读全文
posted @ 2021-03-18 01:41 低调码农哥! 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 在IDEA中设置多模块编译执行,file-setting-Runner,添加如下操作 -Dmaven.multiModuleProjectDirectory=$M2_HOME 生成jar包时,不要直接用package方式,使用install方式,两者区别如下 maven install 是先进行打包 阅读全文
posted @ 2021-03-17 09:37 低调码农哥! 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 操作环境: win10 jdk1.8 zookeeper-3.6.1 Dubbo2.5.10 apache-tomcat-9.0.39 Dubbo是Alibaba开源的分布式服务框架,它最大的特点是按照分层的方式来架构,使用这种方式可以使各个层之间解耦合(或者最大限度地松耦合)。从服务模型的角度来看 阅读全文
posted @ 2021-03-15 22:24 低调码农哥! 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 搭建环境版本: zookeeper:3.6.1 操作系统:win10 jdk:1.8 去管网下载zkui下载包:https://github.com/DeemOpen/zkui,这个文件是java开发的,需要自己手动打包成jar包形式 我的zookeeper是放在了D盘,在项目根目录创建zkui文件 阅读全文
posted @ 2021-03-13 08:09 低调码农哥! 阅读(789) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 32 下一页