flask日志设置 在App/utils/ 新建loggings.py文件 from flask import request import logging import logging.handlers import os class RequestFormatter(logging.Format ...
分类:
其他好文 时间:
2021-02-19 12:57:16
阅读次数:
0
OSGi(Open Service Gateway Initative)会带来生态系统吗?这个问题值得探讨。 OSGi并不是新鲜的事物,它从20世纪90年代就存在了。 OSGi是Java平台上的动态模块系统,但是它并没有被广泛地采用。 模块化并不是新的理念,OSGi也不是。 OSGi是成熟稳定的规范 ...
分类:
编程语言 时间:
2021-02-18 13:23:48
阅读次数:
0
遇到两个报错: 第一个权限问题报错,好解决 startForeground requires android.permission.FOREGROUND_SERVICE Manifest给下权限就行 <manifest ...> ... <uses-permission android:name=" ...
分类:
移动开发 时间:
2021-02-18 13:21:34
阅读次数:
0
Redis的基本介绍 1.Redis是NoSQL数据库,不是传统的关系型数据库 官网:https://redis.io/和http://www.redis.cn/ 2.Redis:REmote Dictionary Server(远程字典服务器),Redis的性能非常高,单机能够达到15w qps, ...
分类:
数据库 时间:
2021-02-18 13:18:56
阅读次数:
0
一开始想的dp用了结构体来存位置,想试一试,但是无法证明正确性,很显然就wa了。 这里的一个切入点就是位置数很小,一开始忽略了这里。 后面可以发现,对于每一回合,如果我们枚举三个人的位置肯定复杂度不够,但是有一个人的位置必定在a[i],所以只需要枚举两个人的位置。 dp[i][j][k] - 表示一 ...
分类:
其他好文 时间:
2021-02-18 13:14:27
阅读次数:
0
service.AddTransient<ITranTest, TranTest>(); service.AddSingleton<ISingTest, SingTest>(); service.AddScoped<ISconTest, SconTest>(); 一、使用方式 service.Add ...
分类:
Web程序 时间:
2021-02-18 13:13:51
阅读次数:
0
第一步:下载安装包 下载地址: https://github.com/seata/seata/releases/tag/v0.9.0 解压到想存放的地址 第二步:配置seata-server config目录下的file.conf文件 29行左右找到service模块儿 修改内容 vgroup_ma ...
分类:
其他好文 时间:
2021-02-18 13:06:20
阅读次数:
0
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter ...
分类:
其他好文 时间:
2021-02-18 13:05:15
阅读次数:
0
一开始不是很理解,查了资料,觉得这个说的非常好! iso 对可用性的定义: the extent to which a system, product or service can be used by specified users to achieve specified goals with ...
分类:
其他好文 时间:
2021-02-17 15:07:39
阅读次数:
0
解决idea创建Maven项目时 No archetype found in remote catalog. Defaulting to internal catalog 下载archetype-catalog.xml下载地址:https://repo1.maven.org/maven2/arche ...
分类:
其他好文 时间:
2021-02-17 14:41:35
阅读次数:
0