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
a3f14e6b
Commit
a3f14e6b
authored
May 30, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/trade-node' into 'master'
search add mobile condition See merge request
!24
parents
e2789c7b
613a21e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CoinReleaseCheckController.php
backend/controllers/CoinReleaseCheckController.php
+5
-1
No files found.
backend/controllers/CoinReleaseCheckController.php
View file @
a3f14e6b
...
@@ -109,13 +109,13 @@ class CoinReleaseCheckController extends BaseController
...
@@ -109,13 +109,13 @@ class CoinReleaseCheckController extends BaseController
if
(
$model
->
load
(
$get
)
&&
$model
->
validate
())
{
if
(
$model
->
load
(
$get
)
&&
$model
->
validate
())
{
$page
=
$get
[
'page'
]
??
1
;
$page
=
$get
[
'page'
]
??
1
;
$limit
=
$get
[
'limit'
]
??
10
;
$limit
=
$get
[
'limit'
]
??
10
;
$mobile
=
$get
[
'mobile'
]
??
''
;
$query
=
CoinReleaseCheck
::
find
()
->
andFilterWhere
([
'!='
,
'status'
,
0
])
->
andFilterWhere
([
$query
=
CoinReleaseCheck
::
find
()
->
andFilterWhere
([
'!='
,
'status'
,
0
])
->
andFilterWhere
([
'status'
=>
$model
->
status
,
'status'
=>
$model
->
status
,
'coin'
=>
$model
->
coin
,
'coin'
=>
$model
->
coin
,
'check_first_uid'
=>
$model
->
check_first_uid
,
'check_first_uid'
=>
$model
->
check_first_uid
,
'check_second_uid'
=>
$model
->
check_second_uid
,
'check_second_uid'
=>
$model
->
check_second_uid
,
]);
]);
$user_id
=
Yii
::
$app
->
user
->
identity
->
id
;
$user_id
=
Yii
::
$app
->
user
->
identity
->
id
;
$auth
=
Yii
::
$app
->
authManager
;
$auth
=
Yii
::
$app
->
authManager
;
$user_role
=
current
(
$auth
->
getRolesByUser
(
$user_id
));
$user_role
=
current
(
$auth
->
getRolesByUser
(
$user_id
));
...
@@ -141,6 +141,10 @@ class CoinReleaseCheckController extends BaseController
...
@@ -141,6 +141,10 @@ class CoinReleaseCheckController extends BaseController
if
(
$model
->
end_time
)
{
if
(
$model
->
end_time
)
{
$query
=
$query
->
andFilterWhere
([
'<='
,
'create_time'
,
$model
->
end_time
]);
$query
=
$query
->
andFilterWhere
([
'<='
,
'create_time'
,
$model
->
end_time
]);
}
}
if
(
$mobile
){
$query
=
$query
->
andFilterWhere
([
'mobile'
=>
$mobile
]);
}
$count
=
$query
->
count
();
$count
=
$query
->
count
();
$datas
=
$query
->
limit
(
$limit
)
->
offset
((
$page
-
1
)
*
$limit
)
->
orderBy
(
'id desc'
)
->
asArray
()
->
all
();
$datas
=
$query
->
limit
(
$limit
)
->
offset
((
$page
-
1
)
*
$limit
)
->
orderBy
(
'id desc'
)
->
asArray
()
->
all
();
//获取审核员id
//获取审核员id
...
...
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