调研:收集当前 smartpanel / page 的资源使用情况 #85
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#85
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
例如 内存占用
服务器会开放一个接口用来接收该信息: https://smartoilets.net/openapi/api/api/v1/app/info/collect
提醒:接口添加token
该issue提到两个内容, 1. smartpanel app 使用的内存 2. simplepage/fbpage 页面使用到的内存
curl --request POST
--url https://smartoilets.net/openapi/api/api/v1/app/info/collect
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJzbWFydG9pbGV0cy11c2VycyIsInN1YiI6InNtYXJ0b2lsZXRzLXVzZXJzIiwiaXNzIjoic21hcnRvaWxldHMiLCJ1c2VyTmFtZSI6Imt3aGRldiIsInR5cGUiOiJ1c2VyIiwidXNlcklkIjo0MSwiZXhwIjoxNzQwOTg4NTM4fQ.ZRof0kRdYHPO68bF4WeIK-BXGR1Me1aIRzqHVlDunYU'
--header 'Content-Type: application/json'
--header 'User-Agent: insomnia/10.3.1'
--data '{
"data":{
"memory": "123",
"other": "test"
}
}'
提交后报 400
需要添加deviceId参数