08 2022 档案
摘要:<a href="${pageContext.request.contextPath}/templateFile/download.do?templateId=1">模板下载</a> package com.cango.erp.cs.controller; import lombok.extern.
阅读全文
摘要:@Autowired ResourceLoader resourceLoader; Resource resource = resourceLoader.getResource("file:c:\\testing.txt"); Resource resource = resourceLoader.g
阅读全文
摘要:/* * 安装插件 * prettier、eslint、Vetur */ { "search.followSymlinks": false, // vscode默认启用了根据文件类型自动设置tabsize的选项 "editor.detectIndentation": false, // 重新设定ta
阅读全文
摘要:LambdaQueryWrapper<OutCompanyEntity> queryWrapper = new LambdaQueryWrapper(); queryWrapper.ne(OutCompanyEntity::getId, id); queryWrapper.and(e -> { //
阅读全文
摘要:import java.io.Serializable; /** * 脱敏工具类 * 脱敏规则:可显示字符 * 姓名:前1 * 电话:前3后4 * 身份证:前6后3 * 地址:省、市 * 银行账号:后4 */ public class DesensitizeUtils implements Seri
阅读全文
摘要:server { listen 8081; server_name localhost; location / { root html; index index.html index.htm; } #情景1:proxy_pass后有/ ,表绝对路径,不把匹配部分加入最终代理路径(location 和
阅读全文