...
This commit is contained in:
parent
12ac97878c
commit
46a380a3e3
14
doc/Shop.py
14
doc/Shop.py
@ -117,6 +117,20 @@ class Shop(object):
|
||||
['goods_chg', _common.NewGoods(), '购买后更新商品的最新信息(可能为null客户端需要做容错处理)'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'buyDiamond',
|
||||
'desc': '购买钻石',
|
||||
'group': 'Shop',
|
||||
'url': 'webapp/index.php?c=Shop&a=buyDiamond',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['num', 0, '购买数量'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['block_chain', _common.ShopTrans(), '链上购买订单信息'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'buyGoodsDirect',
|
||||
'desc': '直接购买(充值,gold)',
|
||||
|
@ -723,8 +723,8 @@ class ShopController extends BaseAuthedController
|
||||
)),
|
||||
));
|
||||
|
||||
$response['item_id'] = $item_id;
|
||||
$response['item_num'] = $item_count;
|
||||
// $response['item_id'] = $item_id;
|
||||
// $response['item_num'] = $item_count;
|
||||
|
||||
error_log("buy diamond, item_id = " . $item_id . " item_count = " . $item_count . " num = " . $num . " price = " . $price . " response = " . json_encode($response));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user