mosonglin 1 year ago
parent eaa4b6396c
commit e348f9748d

@ -308,7 +308,8 @@ class admin:#管理员主界面
saytext+="{}桌的客人点餐:".format(i) saytext+="{}桌的客人点餐:".format(i)
for jj in (data[i]): for jj in (data[i]):
for j in jj: for j in jj:
saytext+=j
saytext+=","+j
print(fl) print(fl)
if fl==1:saysay(saytext) if fl==1:saysay(saytext)

@ -12,6 +12,57 @@
{ {
"汉堡": 20 "汉堡": 20
} }
],
[
{
"烤牛排": 30
},
{
"烤牛排": 30
},
{
"烤牛排": 30
},
{
"汉堡": 20
}
],
[
{
"虾": 50
},
{
"卷饼": 10
}
],
[
{
"烤牛排": 30
}
],
[
{
"烤牛排": 30
},
{
"墨西哥卷饼": 10
}
],
[
{
"烤牛排": 30
},
{
"汉堡王": 30
}
],
[
{
"汉堡王": 30
},
{
"水果": 20
}
] ]
] ]
} }

@ -1,23 +1,7 @@
{ {
"123": [ "12": [
{ {
"烤牛排": 30 "烤牛排": 30
},
{
"烤牛排": 30
}
],
"31": [
{
"烤牛排": 30
}
],
"35": [
{
"水果": 50
},
{
"水果": 50
} }
] ]
} }

Binary file not shown.

@ -7,6 +7,11 @@
{ {
"img": "static/images/123.jpg", "img": "static/images/123.jpg",
"name": "水果", "name": "水果",
"price": 50 "price": 20
},
{
"img": "static/images/th.jpg",
"name": "汉堡王",
"price": 30
} }
] ]

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

@ -1,3 +1,3 @@
{ {
"pwd": "a123456" "pwd": "abc"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Loading…
Cancel
Save