摘要:
MySql SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; SELECT * FROM TrackingSupplierInfo order by CheckingTime desc limit 10000; SET SESSION
阅读全文
posted @ 2019-12-13 11:40
jeffh
阅读(6431)
推荐(1)
摘要:
调用方法一:这边捕获到的异常,不能重新抛出 Task.Factory.StartNew(() => { //业务逻辑 }).ContinueWith(task => { if (task.IsCompleted && !task.IsFaulted) { //没有出现异常 } else { //出现
阅读全文
posted @ 2019-10-30 16:43
jeffh
阅读(416)
推荐(0)
摘要:
MongoDB数据库格式: { "SerialNo": "NJW8888888", "ManifestServiceCode": "USPS", "CreateManifestDatas": [{ "TrackingNumber": "7488888109972671", "PackageSn":
阅读全文
posted @ 2019-10-10 13:56
jeffh
阅读(1507)
推荐(0)
摘要:
数组1、 for (const i in declareItems) { if (declareItems.hasOwnProperty(i)) { const index = i; const declareItem = declareItems[i]; } } 数组2、 for (const i
阅读全文
posted @ 2019-08-29 16:29
jeffh
阅读(877)
推荐(0)
摘要:
参考原文地址:https://www.cnblogs.com/hailang8/p/8664413.html 参考原文地址:https://www.cnblogs.com/taiyonghai/p/6728707.html 1、安装:yum -y install nginx 2、安装成功后nginx
阅读全文
posted @ 2019-08-16 10:32
jeffh
阅读(30049)
推荐(0)
摘要:
user root;#需要与启动用户一致worker_processes auto;error_log /var/log/nginx/error.log;pid /run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.d
阅读全文
posted @ 2019-08-15 22:48
jeffh
阅读(1500)
推荐(0)
摘要:
1、Install-Package Microsoft.Owin.Host.SystemWebOWIN server that enables OWIN-based applications to run on IIS using the ASP.NET request pipeline. 依赖于I
阅读全文
posted @ 2019-07-05 09:53
jeffh
阅读(165)
推荐(0)
摘要:
web.config配置 <configuration> <configSections> <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" /> </configSections> <location path="
阅读全文
posted @ 2019-06-24 17:48
jeffh
阅读(210)
推荐(0)
摘要:
如下面格式 http://abc.cn/api/test/orders?orderNos[]=123456&loginName=121&PageIndex=1&PageSize=10&NoPage=false&orderNos[]=12
阅读全文
posted @ 2019-05-22 11:12
jeffh
阅读(17990)
推荐(0)
摘要:
减数单位为毫秒 db.getCollection("Manifest").find({"IsSuccess": true, $and:[{"UpdateOn":{$gte:new Date(new Date()-7*24*60*60000)}},{"UpdateOn":{$lte:new Date(
阅读全文
posted @ 2019-05-21 16:56
jeffh
阅读(973)
推荐(0)