上一页 1 2 3 4 5 6 7 8 9 ··· 29 下一页
摘要: 软件截图 项目截图 部分代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Nancy; using NLog; using System.Diagnostics 阅读全文
posted @ 2023-04-06 16:04 天天代码码天天 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 例子 @EnableScheduling @Component public class Job { /** * 每秒执行一次 */ @Scheduled(cron = "0/1 * * * * ?") public void Job01() { System.out.println("测试"); 阅读全文
posted @ 2023-04-06 10:44 天天代码码天天 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 当Nancy版本为2.0.0.0时 string postData = Request.Body.AsString; 当Nancy版本为1.4.5.0时 自己写一个扩展方法,代码如下 /// <summary> /// Extensions for Stream /// </summary> pub 阅读全文
posted @ 2023-04-06 09:10 天天代码码天天 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1、获取非input控件的值: webBrowser1.Document.All["控件ID"].InnerText; 或webBrowser1.Document.GetElementById("控件ID").InnerText; 或webBrowser1.Document.GetElementBy 阅读全文
posted @ 2023-04-05 10:51 天天代码码天天 阅读(230) 评论(0) 推荐(0) 编辑
摘要: // 接口 List<SysUser> findByIdList(List<Integer> idList); //xml <select id="findByIdList" resultMap="BaseResultMap"> SELECT * FROM sys_user <where> <if 阅读全文
posted @ 2023-04-04 23:40 天天代码码天天 阅读(100) 评论(0) 推荐(0) 编辑
摘要: nodeJS的资源仓库在国内使用过程中,偶尔会遇到各种资源问题,通常设置为淘宝的镜像,网上很多说法是安装淘宝镜像 $ npm install -g cnpm --registry=https://registry.npm.taobao.org 然后再用到npm install的时候,使用cnpm i 阅读全文
posted @ 2023-03-30 10:14 天天代码码天天 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 代码 string strFullPath = @"d:\Test\lxwtest.txt"; string strFilename = Path.GetFileName(strFullPath);//返回带扩展名的文件名 Console.WriteLine("返回带扩展名的文件名:" + strF 阅读全文
posted @ 2023-03-29 17:47 天天代码码天天 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 一些小项目,没必要搭建脚手架,直接以CDN的方式引入 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < 阅读全文
posted @ 2023-03-29 16:59 天天代码码天天 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 下载地址 http://download.webmin.com/download/yum/ 安装依赖 sudo yum -y install openssl perl perl-Net-SSLeay perl-IO-Tty perl-Crypt-SSLeay perl-Encode-Detect p 阅读全文
posted @ 2023-03-29 10:51 天天代码码天天 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1.适用于创建实体的时候从一个实体作为数据源赋值 /// <summary> /// 反射实现两个类的对象之间相同属性的值的复制 /// 适用于初始化新实体 /// </summary> /// <typeparam name="D">返回的实体</typeparam> /// <typeparam 阅读全文
posted @ 2023-03-27 14:34 天天代码码天天 阅读(94) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 29 下一页