web.config <!-- 配置发邮件:邮件访问登录地址--> <add key="HttpsUrl" value="http://localhost:3334/Frame/Login.aspx" /> <add key="IsSendMail" value="1" /> <!--qq邮箱--> ...
这个spring.profiles.active的值虽然是可以通过@Value注解之类的方式获取到,但如果需要获取这个值的类是不被spring管理的呢?那就不能直接用过spring boot的简单注解方式直接获取值了,然后最近找到一个这个类。 @Component public class Spri ...
分类:
编程语言 时间:
2020-07-23 09:20:39
阅读次数:
158
1:架构图2:ZuulServletZuul的核心是一系列的filters,Zuul大部分功能都是通过过滤器来实现的1:ZuulServlet是Zuul的核心类,用来调度不同阶段的filters,处理请求,并处理异常等,路径是/zuul,可以使用zuul.servlet-path属性更改此路径2:功能类似于SpringMvc的DispatcherServlet,所有的Request都要经过它的处理
分类:
编程语言 时间:
2020-07-22 20:21:09
阅读次数:
71
事先说明,由于本人是刚接触Revit,所有知识点,都是我自己一边研究一边写的。所以,可能是有错误的,若有错误,还望指正和海涵。而且本人还没有编写Revit二开的经验,所以与实际编程可能是有脱节的。 Element估计是元素,这些元素是可以被Revit持久化存储的最小单位。 Reference估计是参 ...
分类:
其他好文 时间:
2020-07-22 16:10:08
阅读次数:
115
页面需要水印 import Vue from 'vue' /** * watermark 指令 * 解决: 给页面生成水印 * 基本原理:给选择器添加背景图片 * 用法:v-watermark="{options}" * option: * @param {string} text 水印文字 * @ ...
分类:
其他好文 时间:
2020-07-22 02:03:04
阅读次数:
112
1、定义 Service package com.example.scangundemo_as; import android.app.ActivityManager; import android.app.Service; import android.content.ComponentName; ...
分类:
移动开发 时间:
2020-07-21 22:26:20
阅读次数:
106
1.新建空项目 2.创建实体类库 创建实体 public class UsersInfo { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] //设置自增 public int SeqNum { get; set; } [Key,MaxLe ...
分类:
数据库 时间:
2020-07-21 21:47:18
阅读次数:
78
前后端项目分离,跨域请求时,后端的两种配置方式: 1.配置类: package com.helq3.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annot ...
分类:
编程语言 时间:
2020-07-18 21:52:43
阅读次数:
86
settings.py文件的配置 # 缓存相关配置 CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', # 指定缓存使用的引擎 'LOCATION': 'D:\django ...
分类:
其他好文 时间:
2020-07-16 00:28:01
阅读次数:
95
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
编程语言 时间:
2020-07-15 13:02:06
阅读次数:
82