Commit 724a4477 by 冷斌

踢人

parent 3c16af35
...@@ -359,7 +359,7 @@ class Model_User extends PhalApi_Model_NotORM ...@@ -359,7 +359,7 @@ class Model_User extends PhalApi_Model_NotORM
$start = strtotime(date("Y-m-d",strtotime("-15 day"))); $start = strtotime(date("Y-m-d",strtotime("-15 day")));
$end = strtotime(date('Y-m-d 23:59:59')); $end = strtotime(date('Y-m-d 23:59:59'));
$info = DI()->notorm->users_attention->select("touid")->where("uid = {$uid} and between addtime {$start} and {$end} ")->order('addtime desc')->fetchAll(); $info = DI()->notorm->users_attention->select("touid")->where("uid = {$uid} and between addtime {$start} and {$end} ")->order('addtime desc')->fetchAll();
foreach ($info as $k => $v) { foreach ($info as $k => $v) {
$userinfo = getUserInfo($v['touid']); $userinfo = getUserInfo($v['touid']);
$v['user_nicename']=$userinfo['user_nicename']; $v['user_nicename']=$userinfo['user_nicename'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment