|
|
@@ -447,7 +447,7 @@ class Index extends Controller
|
|
|
{
|
|
|
|
|
|
$ranking = Db::query("select u.nickname, u.portrait, l.uid, l.duration, l.number from awards_user_task_log as l left join awards_user_info as u on l.uid = u.uid
|
|
|
-where u.portrait != '' and u.portrait is not null group by l.uid order by l.number desc, l.duration asc limit 50");
|
|
|
+where u.portrait != '' and u.portrait is not null and l.duration > 15 group by l.uid order by l.number desc, l.duration asc limit 50");
|
|
|
|
|
|
$userInfo = Db::table('awards_user_task_log')->alias('l')
|
|
|
->leftJoin('awards_user_info u', 'l.uid = u.uid')
|
|
|
@@ -477,7 +477,7 @@ where u.portrait != '' and u.portrait is not null group by l.uid order by l.numb
|
|
|
public function newRanking()
|
|
|
{
|
|
|
$ranking = Db::query("select u.nickname, u.portrait, l.uid, l.duration, l.number from awards_user_task_log as l left join awards_user_info as u on l.uid = u.uid
|
|
|
-where u.portrait != '' and u.portrait is not null group by l.uid order by l.create_at desc, l.number desc, l.duration asc limit 50");
|
|
|
+where u.portrait != '' and u.portrait is not null and l.duration > 15 group by l.uid order by l.create_at desc, l.number desc, l.duration asc limit 50");
|
|
|
|
|
|
$userInfo = Db::table('awards_user_task_log')->alias('l')
|
|
|
->leftJoin('awards_user_info u', 'l.uid = u.uid')
|