一、点Project Structure 二、选中WEB-INF点击新建文件的图标 三、点+将所有的jar包导入进去 点ok就导入了,然后apply,ok; ...
分类:
其他好文 时间:
2021-03-30 13:31:57
阅读次数:
0
public async Task CreateFileByHtmlAsync(ApiDBContent dbContext, WebPageParam setting, int tryCount = 0) { string pdfPath = Path.Combine(setting.FilePa ...
分类:
其他好文 时间:
2021-03-26 15:25:18
阅读次数:
0
Function.prototype.mycall = function () { const [first, ...rest] = arguments; const ctx = first || window; ctx.func = this; const ret = ctx.func(...re ...
分类:
移动开发 时间:
2021-03-26 15:24:30
阅读次数:
0
直接上代码: 需要引用using Microsoft.Extensions.Configuration; public class AppSettings { /// <summary> /// 配置文件的根节点 /// </summary> private static readonly ICon ...
分类:
移动开发 时间:
2021-03-26 15:23:11
阅读次数:
0
Samba服务配置 Samba服务配置samba软件结构Samba在线安装全局设置参数共享文件设置参数一、不需要账号密码访问的共享(security = share )二、需要输入账号和密码访问的共享(security = user)三、特殊操作:(samba用户映射,又称作虚拟用户) samba是 ...
分类:
其他好文 时间:
2021-03-18 14:38:36
阅读次数:
0
call和apply的应用场景: 判断数据类型: Object.prototype.toString用来判断类型再合适不过,借用它我们几乎可以判断所有类型的数据: function isType(data, type) { const typeObj = { '[object String]': ' ...
分类:
移动开发 时间:
2021-03-17 14:28:08
阅读次数:
0
前言 在java的世界里,有很多优秀的权限认证框架,如Apache Shiro、Spring Security 等等。这些框架背景强大,历史悠久,其生态也比较齐全。 但同时这些框架也并非十分完美,在前后台分离已成标配的互联网时代,这些老牌框架的很多设计理念已经相当滞后,无法与我们的项目完美契合。 而 ...
分类:
其他好文 时间:
2021-03-17 14:14:53
阅读次数:
0
在connection的生命里,会一直有一个user thread(以及user thread对应的THD)陪伴它。 Connection和Session概念 来自Stackoverflow的一个回答: A session is just a result of a successful conne ...
分类:
数据库 时间:
2021-03-17 14:12:26
阅读次数:
0
call call()方法功能:指定函数的this,执行函数并传参 参数: fn.call(thisArg,arg1,arg2,ar3,......) ? thisArg 指定让this指向的对象,若指定了null或者undefined则内部this指向window ? arg1,arg2,ar3, ...
分类:
移动开发 时间:
2021-03-17 14:11:32
阅读次数:
0
################### 前言 引用本地py文件出现红色波浪线,如下图: 原因 经过查询得知,vscode中的python插件默认使用的是pylint来做代码检查,因此需要对pylint做一些配置 解决方案 在setting.json中配置 "python.linting.enable ...
分类:
编程语言 时间:
2021-03-16 14:11:43
阅读次数:
0