mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-26 19:01:28 +08:00
feat: Support post url params
This commit is contained in:
parent
66cc7f8a1f
commit
0773a4f39c
@ -94,6 +94,8 @@ export abstract class HttpServerBase {
|
||||
let payload = req.body;
|
||||
if (method == 'get') {
|
||||
payload = req.query;
|
||||
} else if (req.query) {
|
||||
payload = { ...req.query, ...req.body };
|
||||
}
|
||||
log('收到http请求', url, payload);
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user