Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb
This commit is contained in:
commit
1120059dd1
@ -106,7 +106,7 @@ class AAMarket(object):
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['page', _common.StreamPage(), '分页信息'],
|
||||
['!rows', [_common.NftInfo()], '数据'],
|
||||
['!rows', [_common.SaleGoods()], '数据'],
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -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):
|
||||
|
@ -1446,6 +1446,7 @@ CREATE TABLE `t_ingame_mall` (
|
||||
`buyer` varchar(60) NOT NULL DEFAULT '' COMMENT '购买成功者',
|
||||
`buy_ok_time` int(11) NOT NULL DEFAULT '0' COMMENT '购买成功时间',
|
||||
`last_modify_price_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次修改价格事件',
|
||||
`order1` int(11) NOT NULL DEFAULT '0' COMMENT '品质排序 ',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
|
@ -96,6 +96,11 @@ class BaseAuthedController extends BaseController {
|
||||
die();
|
||||
}
|
||||
}
|
||||
if (!(myself()->_getChannel() == IMTBL_CHANNEL ||
|
||||
myself()->_getChannel() == GUEST_CHANNEL)) {
|
||||
phpcommon\sendError(1001, 'session expiration');
|
||||
die();
|
||||
}
|
||||
$r = $this->_getRedis($this->_getAccountId());
|
||||
if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) {
|
||||
if ((getReqVal('c', '') == 'Battle')) {
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user