Commit f7587e2b by 王召彬

user实体类添加方法getGender

parent a910d8f6
......@@ -62,6 +62,11 @@ class User
return $this->getValue('headImg');
}
public function getGender()
{
return $this->getValue('gender');
}
public function getToken()
{
return $this->getValue('token');
......
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