|
|
@@ -812,7 +812,7 @@ class WalletService extends BaseService
|
|
|
}
|
|
|
|
|
|
$headers = ["Content-Type: application/json; charset=utf-8"];
|
|
|
- $result = httpRequest($this->bianUrl, json_encode(['fromUserRole'=>'USER','assets'=>['USDT'],'fiatCurrency'=>'CNY','tradeType'=>'BUY']), 'post', '',5,$headers);
|
|
|
+ $result = httpRequest($this->bianUrl, json_encode(['fromUserRole'=>'USER','assets'=>['USDT'],'fiatCurrency'=>'CNY','tradeType'=>'BUY']), 'post', '',20,$headers);
|
|
|
$datas = isset($result['data']) ? $result['data'] : [];
|
|
|
$data = isset($datas[0]) ? $datas[0] : [];
|
|
|
$price = isset($data['referencePrice']) ? moneyFormat($data['referencePrice'],2) : '0.00';
|