1
This commit is contained in:
parent
65f104f3d0
commit
1b6b77798d
37
doc/Wallet.py
Normal file
37
doc/Wallet.py
Normal file
@ -0,0 +1,37 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import _common
|
||||
|
||||
class Wallet(object):
|
||||
|
||||
def __init__(self):
|
||||
self.apis = [
|
||||
{
|
||||
'name': 'withdrawal',
|
||||
'desc': '提现(game->ERC20)',
|
||||
'group': 'Wallet',
|
||||
'url': 'webapp/index.php?c=Wallet&a=withdrawal',
|
||||
'params': [
|
||||
['account', 0, '钱包账号'],
|
||||
['token', '', 'token'],
|
||||
['amount', '', '金额'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'recharge',
|
||||
'desc': '充值(ERC20->game)',
|
||||
'group': 'Wallet',
|
||||
'url': 'webapp/index.php?c=Wallet&a=recharge',
|
||||
'params': [
|
||||
['account', 0, '钱包账号'],
|
||||
['token', '', 'token'],
|
||||
['amount', '', '金额'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user