Commit 178fa674 by 冷斌

踢人

parent 2e4d5a7b
...@@ -349,7 +349,7 @@ class Model_User extends PhalApi_Model_NotORM ...@@ -349,7 +349,7 @@ class Model_User extends PhalApi_Model_NotORM
return 0; return 0;
} else { } else {
DI()->notorm->users_black->where('uid=? and touid=?', $uid, $touid)->delete(); DI()->notorm->users_black->where('uid=? and touid=?', $uid, $touid)->delete();
DI()->notorm->users_attention->insert(["uid" => $uid, "touid" => $touid]); DI()->notorm->users_attention->insert(["uid" => $uid, "touid" => $touid, 'addtime' => time()]);
return 1; return 1;
} }
} }
......
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