调用Actor 方法:POST/GET/PUT/DELETE http://localhost:3500/v1.0/actors/<actorType>/<actorId>/method/<method>创建 Timer:POST/PUT http://localhost:3500/v1.0/act ...
分类:
其他好文 时间:
2021-03-15 11:32:43
阅读次数:
0
BeanFactoryPostProcessor 自定义spring进行注入 import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanFactoryPos ...
分类:
其他好文 时间:
2021-03-15 11:27:52
阅读次数:
0
文件备份与重命名 # 2种方式打开文件、备份文件、 import os # 打开文件 class FileOpen: @staticmethod def file_open1(file): fp = open(file, "w+", encoding="utf-8") # 无需flush,因为clo ...
分类:
其他好文 时间:
2021-03-15 10:54:22
阅读次数:
0
python内置的装饰器property的使用: property这个装饰器一般使用在类中,我们可以用@property装饰器来创建只读属性,@property装饰器会将装饰的方法转换为相同名称的只读属性,可以与所定义的属性配合使用,这样可以防止属性被修改。 使用场景: 在类中修饰方法,使得方法可以 ...
分类:
编程语言 时间:
2021-03-11 11:43:47
阅读次数:
0
html构造表单 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <form method="post" action="upload_file.php" enctype="mul ...
分类:
Web程序 时间:
2021-03-11 10:30:42
阅读次数:
0
SpringMVC概述 springMVC是一个基于spring的一个框架,是spring的一个模块,可以大大简化web开发的难度。 web开发的底层依然是servlet,框架是在servlet基础上的一些封装 springMVC就是一个spring,spring是容器,通过ioc管理对象,spri ...
分类:
编程语言 时间:
2021-03-10 13:24:07
阅读次数:
0
代码例子如下 public class Father{ private int i = test(); private static int j = method(); static{ System.out.print("(1)"); } Father(){ System.out.print("(2 ...
分类:
其他好文 时间:
2021-03-09 13:44:24
阅读次数:
0
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleConfig': Injection of autowired dependencies failed; ne ...
分类:
其他好文 时间:
2021-03-09 13:43:34
阅读次数:
0
iframe、SameSite与CEF 背景 本人使用CEF(或是Chrome)来加载开发的前端页面,其中使用iframe嵌入了第三方页面,在第三方页面中需要发送cookie到后端,然而加载会报错,第三方页面后端无法接受到Cookie。 原因 由于CEF(Chrome内核)的安全策略,在51版本以前 ...
分类:
其他好文 时间:
2021-03-09 13:27:42
阅读次数:
0
BeanFacotry是spring中比较原始的Factory。如XMLBeanFactory就是一种典型的BeanFactory。原始的BeanFactory无法支持spring的许多插件,如AOP功能、Web应用等。 ApplicationContext接口,它由BeanFactory接口派生而 ...
分类:
编程语言 时间:
2021-03-09 13:08:28
阅读次数:
0