-
我是刚学thinkjs的新手,在已经实现图片上传和下载后,不知道怎么在浏览器上直接显示图片,有相应的例程或者说明吗,找了很久还是没找到
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
![image](https://user-images.githubusercontent.com/5716100/71302834-1122c700-23eb-11ea-8414-dff611e28a2d.png)
使用nginx并开启stickyCluster导致所有请求都只落在一个worker中
发现是socket.remoteAddress一直返回的…
-
版本:3.2
我线上部署,把pm2.json配置下exec_mode修改为cluster,
再运行命令:pm2 start pm2.json 发现无法使用,如果exec_mode为fork则正常,
是不是说thinkjs不支持多线程处理,这样一来如果一个用户出错,全线崩溃?
-
## DESC
view 下的目录可以多分级么
比如像下面这样
view
- admin
- user
add.html
index.html
- news
add.html
i…
-
这个帖子是免费的程序员招聘服务。
如果你们团队正在招人,欢迎把招聘信息发在这个帖子里面。请简要描述,岗位名称、工作地点、岗位要求、团队简介、联系方式等等。
**注意:同一个团队如果招聘多个岗位,请写在一起,不要分成多个部分张贴。**
读者可以咨询,但请不要发布与招聘无关的内容,禁止对公司或岗位进行评论或抱怨。如果有意应聘,请直接与发贴人联系。
## 历史帖
- 202…
-
目前似乎没有官方的扩展,开发中有些不便。
我觉得这个应该还是比较常用的驱动吧,比如推送通知等服务场景。
这里想问问奇舞团的各位有没有计划支持消息队列相关的扩展呢?
-
发现现在是直接删除数据库数据。
right ,手抖删错就再回不来了。
后台顺势还可以做个文章回收站之类的
-
## DESC
定时任务的执行日志可不可以输出到单独的日志文件?
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
…
-
## DESC
### ENV
OS Platform:
Node.js Version:9
ThinkJS Version:3
### code
```js
await this.mongo('xxx').addMany(arr);
```
### error message
```
WriteError({"code":11000,"in…