@@ -275,6 +275,15 @@ class DeletePhotoHandler(RequestHandler): |
||
275 | 275 |
|
276 | 276 |
|
277 | 277 |
class BoxInfoHandler(RequestHandler): |
278 |
+ def get(self): |
|
279 |
+ self.write({ |
|
280 |
+ 'status': 200, |
|
281 |
+ 'data': { |
|
282 |
+ 'no.': get_mac_address(), |
|
283 |
+ 'status': get_box_status(), |
|
284 |
+ } |
|
285 |
+ }) |
|
286 |
+ |
|
278 | 287 |
def post(self): |
279 | 288 |
self.write({ |
280 | 289 |
'status': 200, |