1
This commit is contained in:
parent
0919b5ca7c
commit
658603e0a0
@ -5,10 +5,10 @@ class HashRate(object):
|
||||
def __init__(self):
|
||||
self.apis = [
|
||||
{
|
||||
'name': 'info',
|
||||
'name': 'taskList',
|
||||
'desc': '获取算力信息',
|
||||
'group': 'HashRate',
|
||||
'url': 'webapp/index.php?c=HashRate&a=info',
|
||||
'url': 'webapp/index.php?c=HashRate&a=taskList',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['type', 0, '1:战斗任务 2:英雄任务 3:行为任务 4:充值消费任务'],
|
||||
@ -24,6 +24,19 @@ class HashRate(object):
|
||||
['myHashRate', 0, '我的算力'],
|
||||
['refresh_times', 0, '今日刷新次数'],
|
||||
]
|
||||
},{
|
||||
'name': 'commitTask',
|
||||
'desc': '获取算力信息',
|
||||
'group': 'HashRate',
|
||||
'url': 'webapp/index.php?c=HashRate&a=commitTask',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['task_id', 0, '任务id'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['!award', [_common.AwardItem()], '奖励'],
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user