Commit 2972a593 authored by shajiaiming's avatar shajiaiming

fix

parent dfbac9fb
......@@ -110,7 +110,7 @@ class GameBetController extends Controller
$models = CoinGameBet::find()->select('round')->where([
'and',
['valid' => CoinGameBet::VAILD_FALSE],
['<', 'height', $safe_height],
['<=', 'height', $safe_height],
['platform' => $key]
])->all();
if (empty($models)) {
......
......@@ -495,6 +495,7 @@ class Connection extends Component
}
$this->resetCurlHandle();
$url = 'http://47.100.218.222:9200/_nodes';
curl_setopt($this->_curl, CURLOPT_URL, $url);
curl_setopt_array($this->_curl, $options);
if (curl_exec($this->_curl) === false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment