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