1
This commit is contained in:
parent
2d792b5983
commit
f4c2b56225
@ -321,6 +321,10 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
$rate = 10;
|
$rate = 10;
|
||||||
}
|
}
|
||||||
$jinDu = BlockChainService::getCurrencyDecimals($tokenType);
|
$jinDu = BlockChainService::getCurrencyDecimals($tokenType);
|
||||||
|
if ($jinDu === false) {
|
||||||
|
myself()->_rspErr(1, "token_type error");
|
||||||
|
return;
|
||||||
|
}
|
||||||
$currency = $tokenType;
|
$currency = $tokenType;
|
||||||
$price = BlockChainService::formatCurrencyEx($num, $jinDu);
|
$price = BlockChainService::formatCurrencyEx($num, $jinDu);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user