Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内置http server服务 CoreApp.request.body会有循环引用的问题 #119

Open
SureEnough opened this issue Jul 15, 2024 · 1 comment

Comments

@SureEnough
Copy link

async doHttpRequest() {
const { CoreApp } = EE;
// http方法
const method = CoreApp.request.method;
// http get 参数
let params = CoreApp.request.query;
params = (params instanceof Object) ? params : JSON.parse(JSON.stringify(params));
console.log(JSON.stringify(CoreApp.request.body))
return true
}

@SureEnough
Copy link
Author

用的是"ee-core": "^2.10.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant