Commit 59cc33fa by 冷斌

update

parent ffedfbf2
......@@ -1150,12 +1150,17 @@ class FamilyController extends HomebaseController {
exit;
}
var_dump($isexist2);
die;
$data=array(
'role'=>1,
);
if ($isexist2['role'] > 0) {
$data=array(
'role'=>0,
);
}
$result=$User_family->where('familyid='.$familyid.' and uid='.$touid)->save($data);
if($result!==false)
......
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