|
|
@ -2091,7 +2091,6 @@ class UserModel extends Model{
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function getKeepPlayers($map = '', $day, $falseIndex = false)
|
|
|
|
public function getKeepPlayers($map = '', $day, $falseIndex = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$map['lpuid']=0;
|
|
|
|
|
|
|
|
$join = "right join tab_user as u on r.user_id = u.id";
|
|
|
|
$join = "right join tab_user as u on r.user_id = u.id";
|
|
|
|
if ($falseIndex) {//日期范围大于5天使用强制索引
|
|
|
|
if ($falseIndex) {//日期范围大于5天使用强制索引
|
|
|
|
$join = "FORCE INDEX (PRIMARY) " . $join;
|
|
|
|
$join = "FORCE INDEX (PRIMARY) " . $join;
|
|
|
|