1
This commit is contained in:
parent
70a23fb4dc
commit
1c0546b9dc
@ -106,7 +106,7 @@ class AAMarket(object):
|
|||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['page', _common.StreamPage(), '分页信息'],
|
['page', _common.StreamPage(), '分页信息'],
|
||||||
['!rows', [_common.NftInfo()], '数据'],
|
['!rows', [_common.SaleGoods()], '数据'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1769,11 +1769,19 @@ class MarketGoods(object):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.fields = [
|
self.fields = [
|
||||||
['event', '', 'json格式订单webhooks事件信息https://docs.immutable.com/docs/zkEVM/products/blockchain-data/webhooks/webhooks-orders'],
|
['event', '', 'json格式订单webhooks事件信息imtbl_zkevm_order_updated https://docs.immutable.com/docs/zkEVM/products/blockchain-data/webhooks/webhooks-orders'],
|
||||||
['nft', NftInfo(), 'nft信息'],
|
['nft', NftInfo(), 'nft信息'],
|
||||||
['in_shopcart', 0, '商品是否已在购物车里'],
|
['in_shopcart', 0, '商品是否已在购物车里'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class SaleGoods(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['event', '', 'json格式订单webhooks事件信息imtbl_zkevm_activity_sale https://docs.immutable.com/docs/zkEVM/products/blockchain-data/webhooks/webhooks-orders'],
|
||||||
|
['nft', NftInfo(), 'nft信息']
|
||||||
|
]
|
||||||
|
|
||||||
class AssetNftInfo(object):
|
class AssetNftInfo(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -239,6 +239,7 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
$this->_rspErr(500, 'server internal error');
|
$this->_rspErr(500, 'server internal error');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
myself()->_decItems($costItems);
|
||||||
SqlHelper::insert
|
SqlHelper::insert
|
||||||
(myself()->_getSelfMysql(),
|
(myself()->_getSelfMysql(),
|
||||||
't_gold_bullion',
|
't_gold_bullion',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user