Commit ee77cc65 authored by zhuwei's avatar zhuwei

优化

parent 21cb57ea
...@@ -330,7 +330,7 @@ class UserService ...@@ -330,7 +330,7 @@ class UserService
*/ */
public function isUserProtect($user_id){ public function isUserProtect($user_id){
if(!$user_id){ if(!$user_id){
return false; return 1;
} }
$res = $this->user->selectUser($user_id, "id,protect_time,create_time"); $res = $this->user->selectUser($user_id, "id,protect_time,create_time");
......
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