2019年6月13日

摘要: /// <summary> /// 将list转为datatable /// </summary> /// <typeparam name="ExcelExportModel"></typeparam> /// <param name="list"></param> /// <returns></r 阅读全文
posted @ 2019-06-13 11:29 *tfe* 阅读(229) 评论(0) 推荐(0) 编辑

2019年6月12日

摘要: #region 获取验证码 /// <summary> /// 获取验证码 /// </summary> /// <param name="tel">手机号码</param> /// <returns></returns> [Route("api/User/GetVarCode/")] [HttpG 阅读全文
posted @ 2019-06-12 15:14 *tfe* 阅读(297) 评论(0) 推荐(0) 编辑

2019年5月30日

摘要: /// <summary> /// 1-Excel导出下载文件 /// </summary> /// <returns></returns> [HttpGet] [Route("api/DataBase/DownloadFile/")] public IHttpActionResult Downlo 阅读全文
posted @ 2019-05-30 16:32 *tfe* 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 使用Excel导入时要先安装管理NuGet程序包-NPOI public BaseResult ExcelImport() { HttpFileCollection filelist = HttpContext.Current.Request.Files; if (filelist != null 阅读全文
posted @ 2019-05-30 14:38 *tfe* 阅读(360) 评论(0) 推荐(0) 编辑

2019年5月28日

摘要: string sql = string.Format("insert into t_user(login_name,password,user_name,phonenumber,status) VALUES ('{0}','{1}','{2}','{3}',{4}); select @@IDENTI 阅读全文
posted @ 2019-05-28 17:28 *tfe* 阅读(840) 评论(0) 推荐(0) 编辑

2019年5月27日

摘要: [HttpPost] [Route("api/order/PublicData/Add/")] public int Add(users model) { string serviceAddress = "http://192.168.0.251:8887/aaa/user/cms"; HttpWe 阅读全文
posted @ 2019-05-27 16:11 *tfe* 阅读(568) 评论(0) 推荐(0) 编辑

2019年5月16日

摘要: #region 上传产品图片 /// <summary> /// 上传产品图片 /// </summary> /// <returns></returns> // GET api/Admin/UpLoadProductImg/ [Route("api/Admin/UpLoadProductImg/" 阅读全文
posted @ 2019-05-16 15:01 *tfe* 阅读(426) 评论(0) 推荐(0) 编辑

2019年5月6日

摘要: HM6NR-QXX7C-DFW2Y-8B82K-WTYJV 阅读全文
posted @ 2019-05-06 09:11 *tfe* 阅读(170) 评论(0) 推荐(0) 编辑

2019年3月29日

摘要: 1.WebConfig中: <httpProtocol></httpProtocol>中加 <customHeaders> <!--<add name="Access-Control-Allow-Origin" value="http://oa.test.facehm.com" />--> <add 阅读全文
posted @ 2019-03-29 11:35 *tfe* 阅读(194) 评论(0) 推荐(0) 编辑
摘要: string dd = model.Fatherid; string serviceAddress = "http://public.data.test.cn/api/PropertyData/GetFloorBuilding"; HttpWebRequest request = (HttpWebR 阅读全文
posted @ 2019-03-29 09:39 *tfe* 阅读(754) 评论(0) 推荐(0) 编辑

导航