This commit is contained in:
aozhiwei 2024-06-27 20:18:41 +08:00
parent 70a23fb4dc
commit 1c0546b9dc
3 changed files with 11 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class AAMarket(object):
'response': [
_common.RspHead(),
['page', _common.StreamPage(), '分页信息'],
['!rows', [_common.NftInfo()], '数据'],
['!rows', [_common.SaleGoods()], '数据'],
]
},
{

View File

@ -1769,11 +1769,19 @@ class MarketGoods(object):
def __init__(self):
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信息'],
['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):
def __init__(self):

View File

@ -239,6 +239,7 @@ class BlockChainController extends BaseAuthedController {
$this->_rspErr(500, 'server internal error');
return false;
}
myself()->_decItems($costItems);
SqlHelper::insert
(myself()->_getSelfMysql(),
't_gold_bullion',