mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
修复锅巴代理参数
This commit is contained in:
parent
22ead6d55e
commit
14d7088e90
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ async function Guoba(fastify, options) {
|
|||
}
|
||||
if (body.data) {
|
||||
if (body.post) {
|
||||
guobaOptions.body = body.data
|
||||
guobaOptions.body = JSON.stringify(body.data)
|
||||
} else {
|
||||
let paramsArray = []
|
||||
Object.keys(body.data).forEach(key => paramsArray.push(key + '=' + body.data[key]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue