This commit is contained in:
aozhiwei 2024-08-01 11:01:03 +08:00
parent 559c18cd98
commit 136834da48

View File

@ -5,19 +5,23 @@ class AAGameLog(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis = [
{ {
'method': 'POST',
'name': 'customReport', 'name': 'customReport',
'desc': '上报自定义日志', 'desc': '上报自定义日志(httpbody自定义)',
'group': '!AAGameLog', 'group': '!AAGameLog',
'url': 'https://gamelog-test.kingsome.cn/webapp/index.php?c=GameLog&a=customReport', 'url': 'https://gamelog-test.kingsome.cn/webapp/index.php?c=GameLog&a=customReport',
'params': [ 'is_json_params': True,
'request_params': [
_common.ReqHead(), _common.ReqHead(),
['gameid', '', '游戏id'], ['gameid', '', '游戏id'],
['channel', '', '渠道编号'], ['channel', '', '渠道编号'],
['event_name', '', '事件名'], ['event_name', '', '事件名'],
['account_id', '', '账号Id'], ['account_id', '', '[可选]账号id(web端不要传该字段)'],
['session_id', '', '会话id'], ['session_id', '', '[可选]会话id(web端不要传该字段)'],
['localuuid', '', '本地唯一Id'], ['localuuid', '', '本地唯一Id'],
], ],
'params': [
],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
] ]