1
This commit is contained in:
parent
2cbe0f6d5e
commit
d9f7552c10
@ -197,10 +197,19 @@ class ShopController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, 'paramater error fiat');
|
$this->_rspErr(1, 'paramater error fiat');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!$fiatAmount != 'USD') {
|
if (!$fiatAmount + 0.00001 < $goodsMeta['price']) {
|
||||||
$this->_rspErr(1, 'paramater error fiatAmount');
|
$this->_rspErr(1, 'paramater error fiatAmount');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!in_array($crypto,
|
||||||
|
array(
|
||||||
|
'CEG',
|
||||||
|
'ETH'
|
||||||
|
)
|
||||||
|
)) {
|
||||||
|
$this->_rspErr(1, 'paramater error crypto');
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function queryInAppBalance()
|
public function queryInAppBalance()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user