摘要: 方法一再webconfig添加【这个节点必须放在 <system.webServer>节点中】<httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-C 阅读全文
posted @ 2020-06-11 13:17 tommy~hi 阅读(344) 评论(0) 推荐(1) 编辑
摘要: using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using System.Text.RegularExpressions; using System.Threadi 阅读全文
posted @ 2020-06-11 13:13 tommy~hi 阅读(598) 评论(0) 推荐(0) 编辑
摘要: public class ExcelExportUtils { /// <summary> /// 页面导出Excel /// </summary> /// <typeparam name="T">实体类型</typeparam> /// <param name="fileName">导出的文件名< 阅读全文
posted @ 2020-06-11 13:11 tommy~hi 阅读(129) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// DES加密/解密类。 /// </summary> public class DESEncrypt { #region 加密 /// <summary> /// 加密 /// </summary> /// <param name="Text"></param> / 阅读全文
posted @ 2020-06-11 13:10 tommy~hi 阅读(224) 评论(0) 推荐(0) 编辑
摘要: # 允许最大连接数max_connections=2000# 服务端使用的字符集默认为8比特编码的latin1字符集character_set_server=utf8# insert语句大小bulk_insert_buffer_size = 256M# 服务所能处理的请求包的最大大小max_allo 阅读全文
posted @ 2020-06-11 13:08 tommy~hi 阅读(115) 评论(0) 推荐(0) 编辑