摘要:public BaseResult Office365Send(string toEmail, string fromEmail, string subject, string body, bool isBodyHtml) { try { logger.Info("发送失败,用户:" + toEma 阅读全文
posted @ 2021-04-23 14:40 _York 阅读(11) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 根据模板生成PDF /// </summary> /// <param name="templetPdf">PDF模板</param> /// <param name="newPdf">新生成的PDF</param> /// <param name="dict"> 阅读全文
posted @ 2021-04-08 10:58 _York 阅读(13) 评论(0) 推荐(0) 编辑
摘要:NUGET 安装 Select.HtmlToPdf库 代码如下: public class PdfUtils { /// <summary> /// html字符串转PDF /// </summary> /// <param name="html">html</param> /// <param n 阅读全文
posted @ 2021-03-31 19:57 _York 阅读(6) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// access数据库分页 /// </summary> /// <typeparam name="T">实体</typeparam> /// <param name="page">页码</param> /// <param name="limit">每页条数</pa 阅读全文
posted @ 2021-02-22 14:17 _York 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-01 08:41 _York 阅读(396) 评论(0) 推荐(0) 编辑
摘要:添加引用 添加OwinStartup类 [assembly: OwinStartup(typeof(ZLManage.App_Start.Startup))] namespace Manage.App_Start { public class Startup { public void Config 阅读全文
posted @ 2020-10-18 18:04 _York 阅读(60) 评论(0) 推荐(0) 编辑
摘要:var formData = new FormData(document.getElementById("addform")); $.ajax({ url: "url", type: "post", data: formData, processData: false, contentType: f 阅读全文
posted @ 2020-08-25 09:29 _York 阅读(137) 评论(0) 推荐(0) 编辑
摘要:在build.gradle文件下添加了android{compileOptions.encoding="GBK"} 阅读全文
posted @ 2020-06-18 18:08 _York 阅读(405) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; usi 阅读全文
posted @ 2020-06-15 14:04 _York 阅读(535) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 垂直方向滚动到顶部 /// </summary> /// <param name="element"></param> /// <param name="scrollViewer"></param> public static void ScrollViewToV 阅读全文
posted @ 2020-06-15 12:34 _York 阅读(903) 评论(0) 推荐(0) 编辑