fix bug
This commit is contained in:
parent
c7fecc7329
commit
97eb9f75b0
@ -51,7 +51,13 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
| adid | int | 是 | 广告ID |
|
| adid | int | 是 | 广告ID |
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
post_data = self.request.body_arguments
|
||||||
|
post_data = {x: post_data.get(x)[0].decode("utf-8") for x in post_data.keys()}
|
||||||
|
if not post_data:
|
||||||
|
post_data = self.request.body.decode('utf-8')
|
||||||
|
post_data = json.loads(post_data)
|
||||||
|
print(post_data)
|
||||||
|
pdb.set_trace()
|
||||||
gameid = self.get_query_argument('gameid')
|
gameid = self.get_query_argument('gameid')
|
||||||
locationid = self.get_query_argument('locationid')
|
locationid = self.get_query_argument('locationid')
|
||||||
uid = self.get_query_argument('uid')
|
uid = self.get_query_argument('uid')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user