From cacc026d13c93f13d9f4ea0afcb9fc63f21d77cb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 7 Nov 2022 12:42:45 +0800 Subject: [PATCH] 1 --- .../controller/BlockChainController.class.php | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/webapp/controller/BlockChainController.class.php b/webapp/controller/BlockChainController.class.php index 103d0b3d..fd00c166 100644 --- a/webapp/controller/BlockChainController.class.php +++ b/webapp/controller/BlockChainController.class.php @@ -413,7 +413,27 @@ class BlockChainController extends BaseAuthedController { public function unplugChip() { + $type = getReqVal('type', ''); + $tokenId = getReqVal('token_id', ''); + $chipIds = explode('|', getReqVal('chips_ids', '')); + switch ($type) { + case 1: + { + + } + break; + case 2: + { + + } + break; + default: + { + myself()->_rspErr(101, 'type paramater error'); + } + break; + } } private function internalActivate721Nft($tokenId, $tokenType, $itemUniId, $itemId)