1
This commit is contained in:
parent
9ef3dc5225
commit
d1278bc3dd
@ -24,10 +24,10 @@ class Staking(object):
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'stacking',
|
||||
'name': 'staking',
|
||||
'desc': '质押中nft列表',
|
||||
'group': 'Staking',
|
||||
'url': 'webapp/index.php?c=Staking&a=stacking',
|
||||
'url': 'webapp/index.php?c=Staking&a=staking',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['type', '', '1: planet 2: badge 3:cec'],
|
||||
|
@ -77,6 +77,8 @@ CREATE TABLE `t_hash_rate_reward` (
|
||||
|
||||
CREATE TABLE `t_staking` (
|
||||
`idx` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
|
||||
`address` varchar(60) NOT NULL DEFAULT '' COMMENT 'address',
|
||||
`address` varchar(60) COMMENT 'address',
|
||||
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
|
||||
`token_type` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 1:英雄 2:枪支 3:芯片 6:荣誉 7:徽章',
|
||||
|
@ -70,6 +70,7 @@ class MarketController extends BaseAuthedController {
|
||||
}
|
||||
|
||||
$out = array(
|
||||
'rows' => array(),
|
||||
'pagination' => array()
|
||||
);
|
||||
SqlHelper::rawQueryPage(
|
||||
@ -180,7 +181,7 @@ class MarketController extends BaseAuthedController {
|
||||
)
|
||||
),
|
||||
//'orderBy' => $orderBy,
|
||||
'handle' => function ($row) {
|
||||
'handle' => function ($row) use (&$out) {
|
||||
array_push($out['rows'], $this->fillNftIntro($row));
|
||||
}
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user