Commit 7a5554fb authored by sugar's avatar sugar

Merge branch 'dev' of http://rungit.jxdsy.cn:10000/sugar/zhupu into dev

parents 0828c607 e7356d33
......@@ -74,7 +74,7 @@ class UsersModel extends BaseModel {
}
public static function getUserinfo($id,$field = ['id', 'username','nickname','surname_id','realname', 'mobile', 'avatar','gender', 'score', 'prevtime' ,'wx_openid', 'app_openid', 'unionid', 'money', 'level','is_shaikh','commission','agent_money', 'province_id', 'city_id','area_id','town_id','village_id','educational','work_experience']){
public static function getUserinfo($id,$field = ['id', 'username','nickname','surname_id','realname', 'mobile', 'avatar','gender', 'score', 'prevtime' ,'wx_openid', 'app_openid', 'unionid', 'money', 'level','is_shaikh','commission','agent_money', 'province_id', 'city_id','area_id','town_id','village_id','educational','work_experience','win_shares']){
return self::where(['id'=>$id])->field($field)->find();
}
......
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