-
## DESC
### ENV
![image](https://user-images.githubusercontent.com/8412626/34371957-2d0f6d0c-eb0c-11e7-9e0d-720241573e5d.png)
OS Platform:
mac
Node.js Version:
8.9.0
ThinkJS Version:
3.2.6…
-
## DESC
thinkjs官方demo https://github.com/thinkjs/think-demo/tree/master/src/controller 中的websocket运行时报Error during WebSocket handshake: Unexpected response code: 400
### ENV
OS Platform:win7_64
…
-
## DESC
一个服务里能同时连接 mysql 和 mongodb 吗?
### ENV
OS Platform: OSX
Node.js Version: 8.9.1
ThinkJS Version: 3.0
### code
```js
// your code here
```
### error message
```
// your…
-
3.0如何配置跨域,文档上没写
-
## DESC
之前看过一些诸如状态机这样的模块,感觉复用性不强,前端的流程设计器,国际化做的不友好
### ENV
OS Platform:
Node.js Version:8.9.0
ThinkJS Version:3.0
### code
-
DefinitelyTyped recommended to use @types/thinkjs ?
-
## DESC ctx.download 下载的时候报 Error: ENOENT: no such file or directory 但文件是存在的,路径在浏览器中是能预览的
### ENV
OS Platform: mac
Node.js Version:8.9.3
ThinkJS Version:3.2.4
### code
```js
// you…
-
thinkjs 怎么通过 ssh 的方式连接数据库,服务器没有开放3306的端口让我们直接连接数据库
-
## DESC
本地环境翻墙回来后,就出现此问题
之前服务器也出现过,不过没有报错,之前是一段时间后,查询直接不返回,必须要重启thinkjs 服务才可以。不过很久没出现了。
```
[2017-10-26 12:14:27.574] [3984] [INFO] - SQL: SELECT * FROM `mt_user` WHERE ( `phone` = '12345678901'…
-
## DESC
### ENV
OS Platform: Mac
Node.js Version: v9.2.1
ThinkJS Version: 2.2.1
### code
```js
// your code here
__call() {
const method = this.method.toLowerCase();
if (…