sort json
This commit is contained in:
parent
f09cacda9e
commit
0186d5d2ba
4 changed files with 1313 additions and 1313 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -63,7 +63,7 @@ async def _handle_get_confignet_all(_: Request) -> Response:
|
||||||
"""Get config net all."""
|
"""Get config net all."""
|
||||||
try:
|
try:
|
||||||
with open(
|
with open(
|
||||||
os.path.join(os.path.dirname(__file__), "confignetAllResponse.json"),
|
os.path.join(os.path.dirname(__file__), "configNetAllResponse.json"),
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
) as file:
|
) as file:
|
||||||
return web.json_response(json.load(file))
|
return web.json_response(json.load(file))
|
||||||
|
|
|
||||||
|
|
@ -9,19 +9,7 @@
|
||||||
"video": false
|
"video": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pid": "5e14196a6e71b80001b60fda"
|
"pid": "5c19a8f3a1e6ee0001782247"
|
||||||
},
|
|
||||||
{
|
|
||||||
"cfg": {
|
|
||||||
"supported": {
|
|
||||||
"battery": true,
|
|
||||||
"charge": true,
|
|
||||||
"clean": true,
|
|
||||||
"tmallstand": false,
|
|
||||||
"video": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pid": "5e8e8d8a032edd8457c66bfb"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
|
|
@ -35,18 +23,6 @@
|
||||||
},
|
},
|
||||||
"pid": "5c19a91ca1e6ee000178224a"
|
"pid": "5c19a91ca1e6ee000178224a"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cfg": {
|
|
||||||
"supported": {
|
|
||||||
"battery": true,
|
|
||||||
"charge": true,
|
|
||||||
"clean": true,
|
|
||||||
"tmallstand": false,
|
|
||||||
"video": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pid": "5e8e8d2a032edd3c03c66bf7"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
"supported": {
|
"supported": {
|
||||||
|
|
@ -69,7 +45,7 @@
|
||||||
"video": false
|
"video": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pid": "5c19a8f3a1e6ee0001782247"
|
"pid": "5e14196a6e71b80001b60fda"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
|
|
@ -95,6 +71,42 @@
|
||||||
},
|
},
|
||||||
"pid": "5e699a4106f6de83ea64c620"
|
"pid": "5e699a4106f6de83ea64c620"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cfg": {
|
||||||
|
"supported": {
|
||||||
|
"battery": true,
|
||||||
|
"charge": true,
|
||||||
|
"clean": true,
|
||||||
|
"tmallstand": false,
|
||||||
|
"video": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pid": "5e8e8d2a032edd3c03c66bf7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cfg": {
|
||||||
|
"supported": {
|
||||||
|
"battery": true,
|
||||||
|
"charge": true,
|
||||||
|
"clean": true,
|
||||||
|
"tmallstand": false,
|
||||||
|
"video": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pid": "5e8e8d8a032edd8457c66bfb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cfg": {
|
||||||
|
"supported": {
|
||||||
|
"battery": true,
|
||||||
|
"charge": true,
|
||||||
|
"clean": true,
|
||||||
|
"tmallstand": false,
|
||||||
|
"video": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pid": "5ed5e4d3a719ea460ec3216c"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
"supported": {
|
"supported": {
|
||||||
|
|
@ -129,7 +141,7 @@
|
||||||
"video": false
|
"video": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pid": "5ed5e4d3a719ea460ec3216c"
|
"pid": "5f8819156cf8de0008ed7c0d"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
|
|
@ -143,18 +155,6 @@
|
||||||
},
|
},
|
||||||
"pid": "5f88195e6cf8de0008ed7c11"
|
"pid": "5f88195e6cf8de0008ed7c11"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cfg": {
|
|
||||||
"supported": {
|
|
||||||
"battery": true,
|
|
||||||
"charge": true,
|
|
||||||
"clean": true,
|
|
||||||
"tmallstand": false,
|
|
||||||
"video": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pid": "5f8819156cf8de0008ed7c0d"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cfg": {
|
"cfg": {
|
||||||
"supported": {
|
"supported": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue