同步属性字典
This commit is contained in:
parent
087d40be0b
commit
ce401c0335
@ -217,7 +217,9 @@
|
||||
"str5",
|
||||
"jump_appid",
|
||||
"str6",
|
||||
"jump_param"
|
||||
"jump_param",
|
||||
"num1",
|
||||
"jump_result"
|
||||
],
|
||||
"account_id": {
|
||||
"desc": "\u8d26\u53f7id",
|
||||
@ -244,6 +246,11 @@
|
||||
"en_name": "jump_param",
|
||||
"short_name": "str6"
|
||||
},
|
||||
"jump_result": {
|
||||
"desc": "\u8df3\u8f6c\u7ed3\u679c\uff080\uff1a\u6210\u529f\uff0c<0\uff1a\u5931\u8d25\uff09",
|
||||
"en_name": "jump_result",
|
||||
"short_name": "num1"
|
||||
},
|
||||
"localuuid": {
|
||||
"desc": "\u672c\u5730\u751f\u6210\u7684uuid",
|
||||
"en_name": "localuuid",
|
||||
@ -254,6 +261,11 @@
|
||||
"en_name": "nickname",
|
||||
"short_name": "str4"
|
||||
},
|
||||
"num1": {
|
||||
"desc": "\u8df3\u8f6c\u7ed3\u679c\uff080\uff1a\u6210\u529f\uff0c<0\uff1a\u5931\u8d25\uff09",
|
||||
"en_name": "jump_result",
|
||||
"short_name": "num1"
|
||||
},
|
||||
"str1": {
|
||||
"desc": "\u672c\u5730\u751f\u6210\u7684uuid",
|
||||
"en_name": "localuuid",
|
||||
|
@ -43,4 +43,4 @@ def md2csv(mdfile):
|
||||
#end for
|
||||
print(json.dumps(log_dict, sort_keys=True, indent=4, separators=(',', ': ')))
|
||||
|
||||
md2csv('/root/opensource/doc/api说明/gamelog.md')
|
||||
md2csv('/root/opensource/doc/api说明/log_normal.md')
|
||||
|
@ -19,6 +19,6 @@ parser.add_option("-f",
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if options.forward:
|
||||
srvside.ServerSide(options.forward, args[0]).run()
|
||||
else:
|
||||
cliside.ClientSide(options.port, args[0]).run()
|
||||
else:
|
||||
srvside.ServerSide(options.forward, args[0]).run()
|
||||
|
@ -1,4 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import tornado.ioloop
|
||||
import tornado.web
|
||||
import tornado.websocket
|
||||
|
||||
class ChatSocketHandler(tornado.websocket.WebSocketHandler):
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
class ServerSide:
|
||||
|
||||
@ -7,4 +16,9 @@ class ServerSide:
|
||||
self._remote_port = remote_port
|
||||
|
||||
def run(self):
|
||||
pass
|
||||
settings = {}
|
||||
app = tornado.web.Application([
|
||||
(r"/websocket", ChatSocketHandler)
|
||||
], **settings)
|
||||
app.listen(8181)
|
||||
tornado.ioloop.IOLoop.instance().start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user