Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
xiaozhan
Commits
4230926b
Commit
4230926b
authored
Mar 10, 2020
by
刘海龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://132.232.91.252:9999/ice/xiaozhan
parents
6ba53438
8ce72575
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
api/Appapi/Model/Live.php
+2
-2
No files found.
api/Appapi/Model/Live.php
View file @
4230926b
...
@@ -1350,7 +1350,7 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -1350,7 +1350,7 @@ class Model_Live extends PhalApi_Model_NotORM {
$result
=
DI
()
->
notorm
->
users_coinrecord
$result
=
DI
()
->
notorm
->
users_coinrecord
->
select
(
'sum(giftcount) as giftcount,touid as uid'
)
->
select
(
'sum(giftcount) as giftcount,touid as uid'
)
->
where
(
$where
.
'and giftid = '
.
$gid
)
->
where
(
$where
.
'and giftid = '
.
$gid
)
->
order
(
'giftcount desc'
)
->
order
(
'giftcount desc
, id
'
)
->
group
(
'touid'
)
->
group
(
'touid'
)
->
limit
(
$start
,
$pnum
)
->
limit
(
$start
,
$pnum
)
->
fetchAll
();
->
fetchAll
();
...
@@ -1369,7 +1369,7 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -1369,7 +1369,7 @@ class Model_Live extends PhalApi_Model_NotORM {
->
select
(
'sum(giftcount) as giftcount,uid'
)
->
select
(
'sum(giftcount) as giftcount,uid'
)
->
where
(
$where
.
'and giftid = '
.
$gid
)
->
where
(
$where
.
'and giftid = '
.
$gid
)
->
group
(
'uid'
)
->
group
(
'uid'
)
->
order
(
'giftcount desc'
)
->
order
(
'giftcount desc
, id
'
)
->
limit
(
$start
,
$pnum
)
->
limit
(
$start
,
$pnum
)
->
fetchAll
();
->
fetchAll
();
foreach
(
$result
as
$key
=>
$v
){
foreach
(
$result
as
$key
=>
$v
){
...
...
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