Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
7985c617
Commit
7985c617
authored
Jul 26, 2024
by
houyadong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全民-排行榜bug修复
parent
3cddc7ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
UserModel.class.php
app/Lib/Model/UserModel.class.php
+5
-1
No files found.
app/Lib/Model/UserModel.class.php
View file @
7985c617
...
@@ -187,6 +187,7 @@ class UserModel extends Model
...
@@ -187,6 +187,7 @@ class UserModel extends Model
{
{
$gId
=
$gInfo
[
'group_id'
];
$gId
=
$gInfo
[
'group_id'
];
$is_xlq
=
$gInfo
[
'category'
]
==
1
?
1
:
0
;
$is_xlq
=
$gInfo
[
'category'
]
==
1
?
1
:
0
;
$is_qm
=
$gId
==
PRIZE_GROUP_2021
?
1
:
0
;
$getModel
=
function
(
$is_xlq
,
$gInfo
){
$getModel
=
function
(
$is_xlq
,
$gInfo
){
if
(
$is_xlq
==
1
){
if
(
$is_xlq
==
1
){
return
M
()
->
db
(
1
,
C
(
'DB_CONFIG_SYN'
));
return
M
()
->
db
(
1
,
C
(
'DB_CONFIG_SYN'
));
...
@@ -220,7 +221,10 @@ class UserModel extends Model
...
@@ -220,7 +221,10 @@ class UserModel extends Model
'status'
=>
[
'in'
,[
'已报'
,
'已成'
]],
'status'
=>
[
'in'
,[
'已报'
,
'已成'
]],
];
];
}
}
if
(
$is_qm
==
1
&&
$top_type
==
1
){
$uinfo_where
[
'lastweekup'
]
=
[
'gt'
,
0
];
$uinfo_where
[
'monthzzl'
]
=
[
'gt'
,
0
];
}
#置顶逻辑
#置顶逻辑
if
(
$top_type
==
0
){
if
(
$top_type
==
0
){
$uinfo_where
[
'new_phb'
]
=
[
'between'
,[
1
,
3
]];
$uinfo_where
[
'new_phb'
]
=
[
'between'
,[
1
,
3
]];
...
...
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