一个请求通过经过中间件最后生成响应 基于koa2的demo const Koa = require('koa'); const app = new Koa(); const PORT = 3000; // #1 app.use(async (ctx, next)=>{ console.log('wa ...
                            
                            
                                分类:
其他好文   时间:
2021-04-15 12:19:38   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    先搭建本地YUM源 确认系统版本 [root@moke ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@moke ~]# 准备资源: http://mirror.nsc.liu.se/centos-stor ...
                            
                            
                                分类:
其他好文   时间:
2021-04-15 12:18:08   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    给定一个二叉树的根节点 root ,返回它的 中序 遍历。 示例 1: 输入:root = [1,null,2,3] 输出:[1,3,2] class Solution: def inorderTraversal(self, root: TreeNode) -> List[int]: def in_ ...
                            
                            
                                分类:
其他好文   时间:
2021-04-15 12:16:15   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    一、基本定义 Arrays类,全路径java.util.Arrays,主要功能为操作数组,调用方法为Array.方法名 二、常用方法 1. <T> List<T> asList(T... a) 可以将数组转化为相应的list集合,但是也只能转化为list,asList方法内部构建了一个内部静态类Ar ...
                            
                            
                                分类:
编程语言   时间:
2021-04-15 12:15:31   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                遍历中移除操作报错:java.util.ConcurrentModificationException Set<String> taskIdList = taskMapper.shelvesTaskV3();Set<String> collectionNames = markerTaskReposi ...
                            
                            
                                分类:
其他好文   时间:
2021-04-15 12:09:49   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    三步解决系统时间同步(Centos7) 第一步,时区设置 第二步,时间同步 第三步,定时任务 **************时区设置************ ##确认服务器上时区名称 timedatectl list-timezones |grep Shanghai ##设置时区名称 timedate ...
                            
                            
                                分类:
系统相关   时间:
2021-04-15 12:02:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                [ { "m": "01", "v": 0.019, "dq": 0, "ts": null, "pf": null, "time": "2021-03-28 00:00:00", "stringTime": "2021-03-28", "flag": null }, { "m": "01", "v ...
                            
                            
                                分类:
编程语言   时间:
2021-04-15 12:00:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                远程调用出现json解析异常 操作失败,Error while extracting response for type [java.util.List<org.jeecg.modules.face.entity.FaceDevice>] and content type [application/ ...
                            
                            
                                分类:
编程语言   时间:
2021-04-14 12:42:30   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                #列表可变数据类型,可修改 my_list =['ksg','ytg','ttg',['ag','qg','dyg']] #添加 my_list.append('edg') #一次只能添加一个,追加到末尾 my_list.extend(['ts','we']) #添加多个 my_list.inser ...
                            
                            
                                分类:
其他好文   时间:
2021-04-14 12:41:32   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    在上一篇文章中,我们比较出单表插入9999行数据,Dapper > EfCore > Freesql。在本文中,我们来看看级联插入 构建9999行数据 List<Entity> datas = new List<Entity>(); for (int i = 0; i < 9999; i++) {  ...
                            
                            
                                分类:
移动开发   时间:
2021-04-14 12:13:34   
                                阅读次数:
0