-
回调地址是post 的XML格式的,但是thinkjs会自动把它转为json,
我想自己处理,如何能直接获取到原始的post数据呢?
-
## DESC
我在调用阿里云的oss sdk时,遇到如下问题,无论是用回调方式,还是await方式调用,页面都是返回一个OK,而不是返回拼接的数据。
官方接口说明:https://help.aliyun.com/document_detail/111389.html?spm=a2c4g.11186623.6.1423.7abe4fdeBQBlnj
oss接口是支持await方式调用的
…
-
## DESC
### ENV
OS Platform: Mac
Node.js Version: v8.12.0
ThinkJS Version: 3.0
### code
```js
// your code here
// src/controller/api/accounts.js
module.exports = class extends th…
-
通过脚手架创建全新的应用,当环境变量NODE_ENV=test时,development.js、test.js、production.js 三个启动文件均无法正常启动,也都没有任何报错,最终会卡住。
-
## DESC
设置 worker>1 , 然后设置一个定时器,type=one , 运行时发现所有 worker 子进程都调用了 handle函数. 删掉 type 字段也一样.
按照文档所写,设置 type=one (或者省略 type ),均只在第一个子进程中执行.
### ENV
OS Platform: win10
Node.js Version: v14.2.0
Thi…
-
## DESC
为何我升级了 think-model-mysql 后,原来连续where生成的sql会变成“or”连接,以前版本是“and”连接的啊?
### ENV
Node.js Version: v12.13.0
ThinkJS Version: v3.2.12
Think-model Version: v1.5.1
Think-model-mysql Ver…
-
`{
"status": 500,
"errstr": "No context available. ns.run() or ns.bind() must be called first.",
"data": "{\"errorMsg\":\"No context available. ns.run() or ns.bind() must be called firs…
-
设置Cookie上传后,视频文件可以上传,但是点击发布后,未能发布该视频内容。
查看了下响应,有501错误,服务器端判定用户有问题。
-
## 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:centos6.5
Node.js Version:8.9.4
ThinkJS Version:3.0.0
### code
```bash
DEBUG=* node development.js
```
### bash
```
// 加载信息略
koa:application u…