测试
摘要: from zhihu_oauth import ZhihuClient from zhihu_oauth.exception import NeedCaptchaException client = ZhihuClient() try: client.login('email_or_phone', 阅读全文
posted @ 2018-08-08 11:47 C#的麦香园 阅读(580) 评论(0) 推荐(0) 编辑
摘要: select s.* from ( select *, row_number() over (partition by [手机号] order by [要过滤的字段]) as group_idx from table_name ) s where s.group_idx = 1 阅读全文
posted @ 2018-08-07 20:04 C#的麦香园 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 心血来潮写了个小爬虫准备放到阿里云上去的时候发现80端口被占用? 在网上找了好多方法也没解决 cmd命令进入:netsh http show servicestate 详细查看,会发现有80端口的信息,记下版本 在下面找到对应的服务进程ID 右键结束 skr! 阅读全文
posted @ 2018-08-03 11:24 C#的麦香园 阅读(1793) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-08-02 13:36 C#的麦香园 阅读(2) 评论(0) 推荐(0) 编辑
摘要: SELECT * FROM pm_workorder_record_flow a WHERE EXISTS (SELECT 1 FROM (SELECT MAX(createddt) sjrq ,machineid FROM pm_workorder_record_flow GROUP BY machineid)b WHERE a.createddt=b.sjrq AND a.mach... 阅读全文
posted @ 2018-07-23 14:03 C#的麦香园 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1.所有数据绑定后得渲染一下 form.render(); 2.Layui下拉框onchage事件: 前端: js: 阅读全文
posted @ 2018-07-19 17:08 C#的麦香园 阅读(134) 评论(0) 推荐(0) 编辑
摘要: list.ForEach(t => t.CreateTime = DateTime.Now);//对 System.Collections.Generic.List`1 的每个元素执行指定操作。 list.TrueForAll(t => t.Client != null)//确定是否 System.Collections.Generic.List`1 中的每个元素都与指定的谓词所定义的条件相匹配... 阅读全文
posted @ 2018-05-29 21:17 C#的麦香园 阅读(174) 评论(0) 推荐(0) 编辑
摘要: dt.Compute("Max(id)", null); 阅读全文
posted @ 2018-05-08 14:54 C#的麦香园 阅读(82) 评论(0) 推荐(0) 编辑
摘要: <system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Methods" value= 阅读全文
posted @ 2018-03-27 16:52 C#的麦香园 阅读(99) 评论(0) 推荐(0) 编辑
摘要: public static string HttpGet(string url) { //ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); ... 阅读全文
posted @ 2018-03-22 13:39 C#的麦香园 阅读(247) 评论(0) 推荐(0) 编辑
测试