1
This commit is contained in:
parent
ca60a72a0f
commit
d6c51a4fc2
35
doc/Shop.py
35
doc/Shop.py
@ -53,22 +53,6 @@ class Shop(object):
|
||||
['block_chain', _common.ShopTrans(), '链上购买订单信息'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'buyGoodsDirect',
|
||||
'desc': '直接购买(充值,gold)',
|
||||
'group': 'Shop',
|
||||
'url': 'webapp/index.php?c=Shop&a=buyGoodsDirect',
|
||||
'params': [
|
||||
['account_id', '', '账号id'],
|
||||
['order_id', '', '订单id'],
|
||||
['goods_uuid', '', '商品唯一id'],
|
||||
['token_type', '', "选用币种"],
|
||||
['goods_num', 0, '商品数量'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'startGoodsDirect',
|
||||
'desc': '发起一个 直接购买(充值,gold)',
|
||||
@ -130,24 +114,6 @@ class Shop(object):
|
||||
['status', 0, '订单状态 0:未支付 1:已支付 2:支付失败'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name':'inappPurchaseDiamonds',
|
||||
'desc': '内购回调',
|
||||
'group': 'Shop',
|
||||
'url': 'webapp/index.php?c=Shop&a=inappPurchaseDiamonds',
|
||||
'params': [
|
||||
['channel', '', '渠道 goole or apple'],
|
||||
['sign', '', '签名'],
|
||||
['records', '', '购买记录,以下字段是一个record的表示'],
|
||||
['productId', '', '商品id'],
|
||||
['gameOrderId', '', '游戏订单id'],
|
||||
['orderId', '', 'google订单id'],
|
||||
['status', 0, '订单状态'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'getPayMethods',
|
||||
'desc': '获取支付方式',
|
||||
@ -175,7 +141,6 @@ class Shop(object):
|
||||
_common.RspHead(),
|
||||
['!items', [0], '宝箱物品列表'],
|
||||
['free_num', 0, '免费次数'],
|
||||
['pending', 0, '购买中...'],
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -383,8 +383,8 @@ class GoodsInfo(object):
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['id', 0, '商品唯一id'],
|
||||
['goods_id', 0, '商品id'],
|
||||
['goods_num', 0, '堆叠个数,例如:砖石数量'],
|
||||
['item_id', 0, '商品id'],
|
||||
['item_num', 0, '堆叠个数,例如:砖石数量'],
|
||||
['max_amount', 0, '最高购买数量,单次购买'],
|
||||
['shop_id', 0, '所属商店id'],
|
||||
['shopstage', 0, '商店层级'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user