This commit is contained in:
aozhiwei 2022-03-25 14:35:32 +08:00
parent 65f104f3d0
commit 1b6b77798d

37
doc/Wallet.py Normal file
View 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(),
]
},
]