摘要: 关于 :authority 和 host HTTP/2 要求请求具有 :authority 伪标头或 host 标头。 当直接构建 HTTP/2 请求时首选 :authority,从 HTTP/1 转换时首选 host(例如在代理中)。 如果 :authority 不存在,则兼容性 API 将回退到 阅读全文
posted @ 2023-07-27 08:43 samcheng 阅读(1507) 评论(0) 推荐(0) 编辑
摘要: 一、BigDecimal概述 二、BigDecimal常用构造函数 三、BigDecimal常用方法详解 四、BigDecimal格式化 五、BigDecimal常见异常 六、BigDecimal总结 一、BigDecimal概述 Java在java.math包中提供的API类BigDecimal, 阅读全文
posted @ 2023-04-26 08:43 samcheng 阅读(23) 评论(0) 推荐(0) 编辑
摘要: import osimport loggingimport refrom logging.handlers import TimedRotatingFileHandlerdef setup_log(log_name): # 创建logger对象。传入logger名字 log_ger = loggin 阅读全文
posted @ 2021-01-04 10:55 samcheng 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: import loggingimport os.pathimport timeclass Log(object): my_log = logging.getLogger() def __init__(self): # 创建自己的日志收集器 # self.my_log = logging.getLog 阅读全文
posted @ 2021-01-04 10:41 samcheng 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1.在application.properties中增加下列属性 #monitor mail configspring.mail.host=smtp.mxhichina.com(根据邮箱来定,此示例是阿里云企业邮箱)spring.mail.port=25(根据邮箱来定)spring.mail.use 阅读全文
posted @ 2020-05-21 08:43 samcheng 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 动态链接库 ln -s /usr/local/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1ln -s /usr/local/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1 参考:https://www.jianshu. 阅读全文
posted @ 2019-12-31 08:38 samcheng 阅读(363) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhongweijian/article/details/8452845 阅读全文
posted @ 2019-12-19 09:17 samcheng 阅读(403) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><timezones> <timezone id="Asia/Shanghai">中国标准时间 (北京)</timezone> <timezone id="Asia/Hong_Kong">香港时间 (香港)</timezon 阅读全文
posted @ 2019-08-02 10:18 samcheng 阅读(5648) 评论(1) 推荐(0) 编辑
摘要: NAVH-WK6A-DMVK-DKW3 阅读全文
posted @ 2019-06-06 15:14 samcheng 阅读(2700) 评论(1) 推荐(0) 编辑
摘要: 以下应用程序starters是Spring Boot在org.springframework.boot组下提供的: 阅读全文
posted @ 2019-01-25 19:02 samcheng 阅读(4608) 评论(0) 推荐(1) 编辑