1
This commit is contained in:
parent
dc7675cade
commit
2cbe0f6d5e
@ -189,6 +189,18 @@ class ShopController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, 'config error token_type');
|
$this->_rspErr(1, 'config error token_type');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ($goodsMeta['price'] < 0.0001) {
|
||||||
|
$this->_rspErr(1, 'config error price');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!$fiat != 'USD') {
|
||||||
|
$this->_rspErr(1, 'paramater error fiat');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!$fiatAmount != 'USD') {
|
||||||
|
$this->_rspErr(1, 'paramater error fiatAmount');
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function queryInAppBalance()
|
public function queryInAppBalance()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user