This commit is contained in:
aozhiwei 2022-03-25 14:07:43 +08:00
parent 8c80200853
commit 041d224471

View File

@ -28,21 +28,25 @@ class BcShop(object):
'group': 'BcShop',
'url': 'webapp/index.php?c=BcShop&a=buy',
'params': [
['account', 0, '钱包账号'],
['page', 0, '获取第几页数据'],
['sort', '', '排序字段'],
['token', '', 'token'],
['type', '', '注意是箱子id!!!(box_id)'],
['buyer_address', '', '购买者账号id'],
['price', '', 'price'],
['payment_token_address', '', 'payment_token_address'],
['nonce', '', 'nonce'],
['signature', '', '签名soliditySha3(type, payment_token_address, price, nonce), 签名的replace客户端做处理'],
['net_id', '', '网络id'],
],
'response': [
_common.RspHead(),
['!rows', [_common.PreSaleBox()], '商品信息'],
['page', _common.Page(), '分页信息'],
['order_id', '', '订单号(errcode = 0的时候根据订单号客户端定时调用queryOrder接口)查询状态'],
]
},
{
'name': 'queryOrder',
'desc': '查询订单状态',
'group': 'Market',
'url': 'webapp/index.php?c=Market&a=queryOrder',
'group': 'BcShop',
'url': 'webapp/index.php?c=BcShop&a=queryOrder',
'params': [
['account', 0, '钱包账号'],
['token', '', 'token'],