This commit is contained in:
aozhiwei 2022-11-21 10:57:59 +08:00
parent f24807cd68
commit a302e875a0

View File

@ -57,7 +57,8 @@ async function internalPost(session, postData) {
}
async function get(session) {
const postData = session.request('__POST');
const params = utils.jsonDecode(session.request('params'));
const postData = utils.getVal(params, '__POST', '');
if (postData) {
await internalPost(session, postData);
} else {