-
## DESC
### ENV
OS Platform: windows
Node.js Version: v8.9.0
ThinkJS Version: v3.2.4
### code
global.js
```js
try{
Object.defineProperties(global,{
GLog:{
value:(targe…
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
logger日志等级,我不希望记录下INFO类型,如何表达NODE运行中只保留error warn等级日志,设置了等级无效果
### ENV
development
OS Platform:
WIN8
Node.js Version:
NODE V8
ThinkJS Version:
thinkjs-application@1.0.0 D:\nodejs-web\…
fslit updated
6 years ago
-
目前有这样一种情景,我做的一个商城系统,每隔一段时间需要执行结算大量数据的计划任务,而且一些是属于CPU密集型任务(比如生成、解析xls表格),遇到极端情况,直接把某个worker“忙死了”,造成部分用户请求响应很慢。
能不能单独开个进程来处理计划任务?这样减少对响应用户请求的影响。
-
## DESC
1.使用TS,在Controller的Action中使用this.post函数时,对于user-agent为PostmanRuntime/6.4.1的请求无法获取post过来的value。
2.[点此查看 session文档#session-数据是怎么同步的](https://github.com/thinkjs/cn.thinkjs.org/blob/master/3.0…
-
## DESC
### ENV
OS Platform:10.12.1 (16B2555)
Node.js Version:v8.4.0
ThinkJS Version: v2.2.23
### code
```js
// your code here
```
var http = require('http');
indexAction(){
…
-
## DESC
### ENV
OS Platform:
mac
Node.js Version:
8.4
ThinkJS Version:
3.2
Ide:
VS Code
### code
controller/index.ts
```js
return this.display();
```
### error message
```…
-
## DESC
更新了包,发现所有post方法请求超时
## ENV
Platform: win10
Node.js Version: 6.11.2
ThinkJS Version: 2.2.22
-
## DESC
### ENV
OS Platform: Mac OSX
Node.js Version: v7.6.0
ThinkJS Version: 2.x
// your detail description
What's the best way I can debug with thinkjs, like doing some break points…
-
## DESC
用户提交表单(method=“POST”)会自动请求两遍,第一遍post,能正常获取参数,第二遍会请求get,导致参数全部undefined,导致think.validator的rule始终不通过并提示参数不能为空。
## ENV
Platform:win10
Node.js Version:6.10
ThinkJS Version:3.0 bete …