1
This commit is contained in:
parent
9a1e38ffba
commit
6763b7cbf8
@ -32,7 +32,7 @@ class RestApiController extends BaseController {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ($idx == 0) {
|
if ($idx == 0) {
|
||||||
$this->nftInfo(explode($requestUri));
|
$this->nftInfo(explode('/', $requestUri));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -41,7 +41,7 @@ class RestApiController extends BaseController {
|
|||||||
{
|
{
|
||||||
$tokenId = $path[4];
|
$tokenId = $path[4];
|
||||||
if (empty($tokenId)) {
|
if (empty($tokenId)) {
|
||||||
myself()->_rspErr(1, 'nft found');
|
myself()->_rspErr(1, 'nft not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$nftDb = Nft::getNft($tokenId);
|
$nftDb = Nft::getNft($tokenId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user