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
|
||||
|
||||
##### 请求示范
|
||||
|
||||
上传列表压缩过程
|
||||
'''
|
||||
let aidStr = JSON.stringify(aids);
|
||||
let url = `${__getUrl()}?c=Ops&a=upAdRecording&adid=${encodeURIComponent(aidStr)}`
|
||||
'''
|
||||
body= {
|
||||
"gameid": 1001,
|
||||
"locationid": 1078,
|
||||
"uid": "miles.peng",
|
||||
"ad_channel": "ssfd1",
|
||||
"adid": 2234
|
||||
}
|
||||
|
||||
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,
|
||||
"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['locationid'] = locationid
|
||||
tga_data['adid'] = adid
|
||||
|
||||
print(f"{tga_data}")
|
||||
self.tga.put_event_data(tga_data, f'rep_{self.event_type}')
|
||||
return self.write({'errcode': 0, "errmsg": '', "message": ""})
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user