Commit 3ed2ff2f by 冷斌

族员审核列表

parent 066baffb
...@@ -38,6 +38,17 @@ class Model_User extends PhalApi_Model_NotORM ...@@ -38,6 +38,17 @@ class Model_User extends PhalApi_Model_NotORM
} }
$info['anchor_certification'] = $anchor_certification; $info['anchor_certification'] = $anchor_certification;
$type=0;
$familyinfo=DI()->notorm->family->where("uid=".$uid)->find();
$user_family=DI()->notorm->users_family->where("uid=".$uid)->find();
if (!empty($familyinfo)) {
$type = 1;
}
if (!empty($user_family)) {
$type = $user_family['role'] ? 2 : 3;
}
$info['family_type'] = $type;
} }
return $info; return $info;
......
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