.BANCHO. Add basic api code

This commit is contained in:
Nyo
2016-10-31 09:44:36 +01:00
parent 0e5471383e
commit 7699dd288c
5 changed files with 15 additions and 2 deletions

0
handlers/api/__init__.py Normal file
View File

7
handlers/api/ping.py Normal file
View File

@@ -0,0 +1,7 @@
from common.web.api import api
class handler(api.asyncAPIHandler):
@api.api
@api.args("ses")
def asyncGet(self):
self.data["message"] = "狂乱 Hey Kids!!"