...
This commit is contained in:
parent
703d40c9eb
commit
31fff493af
13
doc/Shop.py
13
doc/Shop.py
@ -208,6 +208,19 @@ 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'],
|
||||
['!records' [_common.InappPurchaseRecord()], '购买记录'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'getPayMethods',
|
||||
'desc': '获取支付方式',
|
||||
|
@ -1236,4 +1236,13 @@ class BlindBoxResult(object):
|
||||
self.fields = [
|
||||
['item_id', 0, 'item_id'],
|
||||
['item_num', 0, 'item_num'],
|
||||
]
|
||||
|
||||
class InappPurchaseRecord(object):
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['productId', '', '商品id'],
|
||||
['gameOrderId', '', '游戏订单id'],
|
||||
['orderId', '', 'google订单id'],
|
||||
['status', 0, '订单状态'],
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user