安静

Results 4 issues of 安静

## DESC ### ENV OS Platform: Node.js Version: 12.0 ThinkJS Version: 3.0 按照官方文档配置websock后,客户端连接时可以连接上,但是openAction里面的方法没有被调用,看到路由信息是正确的,请问是哪里出了问题,下面是相关代码: adapter.js ![image](https://user-images.githubusercontent.com/32081858/86031012-dbc8f700-ba67-11ea-8e57-de4da5710435.png) src/adrule/controller/url.js ![image](https://user-images.githubusercontent.com/32081858/86031299-3cf0ca80-ba68-11ea-8645-4fcf73ae251b.png) 日志信息 ![image](https://user-images.githubusercontent.com/32081858/86031206-1af74800-ba68-11ea-97f6-8c5b7d617f98.png) ![image](https://user-images.githubusercontent.com/32081858/86031526-83462980-ba68-11ea-8dd5-cd06bc79591f.png) 看日志信息,路由信息是对的,但是不知道为啥open方法没有被调用,请教大佬解答~~~

我理解的是先比较长度,长度更长的就大,如果长度一样,就逐位比较,如果都是数字组成的字符串,会转为数字 直接比较,如果不是,会把字符转为ASCII码比较, 请问这样对吗

项目中使用到session,登录时在中间件中存session, 然后请求在controller中取session,经常取到空值, 或者连续触发请求时,刚开始为空,多触发几次 才能取到session, 请问可能是什么原因呢

## DESC ### ENV OS Platform: Node.js Version: 10.0以上 ThinkJS Version: 3.0 ### code ```js // controller.js 文件类中 constructor(...args) { super(args); } getAction() { // uid为真实的header,request请求中可以看到。 const uid = this.header('uid')...