Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallet
token
Commits
2972a593
Commit
2972a593
authored
5 years ago
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dfbac9fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
GameBetController.php
console/controllers/GameBetController.php
+1
-1
Connection.php
vendor/yiisoft/yii2-elasticsearch/Connection.php
+1
-0
No files found.
console/controllers/GameBetController.php
View file @
2972a593
...
...
@@ -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
))
{
...
...
This diff is collapsed.
Click to expand it.
vendor/yiisoft/yii2-elasticsearch/Connection.php
View file @
2972a593
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment