From 22d0d1d5de1ce6ac9a0d272b41fb7a391fcc5df1 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 3 Aug 2023 20:20:41 +0800 Subject: [PATCH] 1 --- doc/Market.py | 20 -------------------- webapp/controller/MarketController.class.php | 3 +-- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/doc/Market.py b/doc/Market.py index 58d7b8ae..be2b3a5e 100644 --- a/doc/Market.py +++ b/doc/Market.py @@ -60,26 +60,6 @@ class Market(object): ['!nfts', [_common.NftIntro()], 'nft列表'], ] }, - { - 'name': 'sellMyNft', - 'desc': '出售NFT', - 'group': 'Market', - 'url': 'webapp/index.php?c=Market&a=sellMyNft', - 'params': [ - ['account', '', '账号id'], - ['token', '', 'token'], - ['nft_token', '', 'nft_token'], - ['s_price', '', '出售价格USDT'], - ['amount', 0, '出售数量'], - ['payment_token_address', '', 'payment_token_address'], - ['nonce', '', 'nonce'], - ['signature', '', '签名soliditySha3(type, payment_token_address, price, nonce), 签名的replace客户端做处理'], - ['net_id', '', '网络id'], - ], - 'response': [ - _common.RspHead() - ] - }, { 'name': 'sell', 'desc': '出售NFT', diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index db2857fb..a8f65898 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -598,6 +598,7 @@ class MarketController extends BaseAuthedController 'block_chain' => $response, )); } + private function Web3PriceLowFormat($price) { $bn2 = phpcommon\bnInit('1000000000000000000'); @@ -605,8 +606,6 @@ class MarketController extends BaseAuthedController return phpcommon\bnToStr($ret_price); } - - private function getNftGameData($nftRowInfo) { $t = $nftRowInfo['token_type'];