This commit is contained in:
aozhiwei 2023-08-02 16:07:01 +08:00
parent dc7675cade
commit 2cbe0f6d5e

View File

@ -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()