-
## DESC
countSelect() 执行的sql语句有错,导致在join查询时计算总数count有误:
### ENV
OS Platform: Linux
Node.js Version: v10.14.1
ThinkJS Version: 3.2.10
Think-model Version: 1.4.0
Think-model-mysql V…
-
E:\H5\tests>
E:\H5\tests>
E:\H5\tests>thinkjs new luck_s
'git' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
? Project name name_bac
? Project description abcdef
? Author zx
? Do you want to tur…
-
同一时间多个请求, 我发现 action A中 获取 think.xx 的值 会 是 action B中的值。
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
### ENV
OS Platform:
window10
Node.js Version:
node v10
ThinkJS Version:
ThinkJS v3.2
### code
```js
// 获取用户信息
async userInfoAction() {
await this.checkAuth()
…
-
计划任务的interval 项是设置两次执行间的间隔,如果在这个间隔里上一次执行没有完成,就会“强行打断”,还是?
(遇到计划任务里包含事务和锁就麻烦了,还没提交或者回滚就被强行打断,直接锁死了)
我不知道具体是怎么处理那个interval的,是通过setInterval实现的吗?
现在我的计划任务是从远程服务器上同步数据到本地,每5分钟一次,但是偶尔因为网络原因5分钟内完不成,表现出来就是…
-
## DESC
mongodb的rest方法中
``` javascript
__before(){
this.modelInstance.fieldReverse('password');
}
```
就只过滤出password字段,其他字段排除了
## ENV
Platform:
Node.js Version: 7.7
Think…
-
## DESC
### ENV
OS Platform:
Node.js Version:8.9.1
ThinkJS Version:3.2.10
### code
```js
// your code here
```
### error message
```
// your error message here
```
### m…
-
OS Platform: linux
Node.js Version: 10.14.1
ThinkJS Version: 3.2.7
### code
```js
let getCoupon = await this.model("interface/v3.0.0/xcoupon").getList({
type: 1
}, order, 'id,cname,…
-
## DESC
如何watch view层文件
### ENV
OS Platform:maxOS
Node.js Version:v9
ThinkJS Version:v2
### code
think-watcher 如何watch view层文件
```js
// think-watcher