1
This commit is contained in:
parent
48ffcea204
commit
9caf11a82b
@ -302,9 +302,9 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
if (!in_array(
|
if (!in_array(
|
||||||
$tokenType,
|
$tokenType,
|
||||||
array(
|
array(
|
||||||
'CEG',
|
BlockChainService::CURRENCY_CEG,
|
||||||
'USDC',
|
BlockChainService::CURRENCY_USDC,
|
||||||
'USDT'
|
BlockChainService::CURRENCY_USDT,
|
||||||
)
|
)
|
||||||
)) {
|
)) {
|
||||||
myself()->_rspErr(1, "token_type error");
|
myself()->_rspErr(1, "token_type error");
|
||||||
@ -314,8 +314,8 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
if (in_array(
|
if (in_array(
|
||||||
$tokenType,
|
$tokenType,
|
||||||
array(
|
array(
|
||||||
'USDC',
|
BlockChainService::CURRENCY_USDC,
|
||||||
'USDT'
|
BlockChainService::CURRENCY_USDT,
|
||||||
)
|
)
|
||||||
)) {
|
)) {
|
||||||
$rate = 10;
|
$rate = 10;
|
||||||
|
@ -137,9 +137,9 @@ class MallController extends BaseAuthedController {
|
|||||||
if (!in_array(
|
if (!in_array(
|
||||||
$currency,
|
$currency,
|
||||||
array(
|
array(
|
||||||
'CEG',
|
BlockChainService::CURRENCY_CEG,
|
||||||
'USDC',
|
BlockChainService::CURRENCY_USDC,
|
||||||
'USDT'
|
BlockChainService::CURRENCY_USDT,
|
||||||
)
|
)
|
||||||
)) {
|
)) {
|
||||||
$this->_rspErr(1, 'paramater error currency');
|
$this->_rspErr(1, 'paramater error currency');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user