fix bug
This commit is contained in:
parent
58b00a2852
commit
716bad8a91
16
ad_Readme.md
16
ad_Readme.md
@ -131,12 +131,13 @@ http://spread-test.kingsome.cn/webapp/index.php
|
|||||||
##### 请求方式:post
|
##### 请求方式:post
|
||||||
|
|
||||||
##### 请求示范
|
##### 请求示范
|
||||||
|
body= {
|
||||||
上传列表压缩过程
|
"gameid": 1001,
|
||||||
'''
|
"locationid": 1078,
|
||||||
let aidStr = JSON.stringify(aids);
|
"uid": "miles.peng",
|
||||||
let url = `${__getUrl()}?c=Ops&a=upAdRecording&adid=${encodeURIComponent(aidStr)}`
|
"ad_channel": "ssfd1",
|
||||||
'''
|
"adid": 2234
|
||||||
|
}
|
||||||
|
|
||||||
https://spread-test.kingsome.cn/webapp/index.php?c=Ops&a=upJumpRecording
|
https://spread-test.kingsome.cn/webapp/index.php?c=Ops&a=upJumpRecording
|
||||||
|
|
||||||
@ -167,4 +168,5 @@ https://spread-test.kingsome.cn/webapp/index.php?c=Ops&a=upJumpRecording
|
|||||||
{
|
{
|
||||||
"errcode": 0,
|
"errcode": 0,
|
||||||
"errmsg": "",
|
"errmsg": "",
|
||||||
"message": "1002 incr success!"
|
"message": ""
|
||||||
|
}
|
||||||
|
@ -95,7 +95,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
tga_data['date'] = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
tga_data['date'] = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
tga_data['locationid'] = locationid
|
tga_data['locationid'] = locationid
|
||||||
tga_data['adid'] = adid
|
tga_data['adid'] = adid
|
||||||
|
print(f"{tga_data}")
|
||||||
self.tga.put_event_data(tga_data, f'rep_{self.event_type}')
|
self.tga.put_event_data(tga_data, f'rep_{self.event_type}')
|
||||||
return self.write({'errcode': 0, "errmsg": '', "message": ""})
|
return self.write({'errcode': 0, "errmsg": '', "message": ""})
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user