This commit is contained in:
aozhiwei 2022-02-14 15:57:46 +08:00
parent 9a1e38ffba
commit 6763b7cbf8

View File

@ -32,7 +32,7 @@ class RestApiController extends BaseController {
return;
}
if ($idx == 0) {
$this->nftInfo(explode($requestUri));
$this->nftInfo(explode('/', $requestUri));
}
}
}
@ -41,7 +41,7 @@ class RestApiController extends BaseController {
{
$tokenId = $path[4];
if (empty($tokenId)) {
myself()->_rspErr(1, 'nft found');
myself()->_rspErr(1, 'nft not found');
return;
}
$nftDb = Nft::getNft($tokenId);