创建群组
This commit is contained in:
@@ -315,6 +315,10 @@ class Sign extends Model
|
||||
}
|
||||
|
||||
//查看当前出价用户是否创建家族
|
||||
$is_create_familys = db::name('vs_family')->where(['user_id' => $max_sign_user['user_id'],'type' => 1])->find();
|
||||
if(!$is_create_familys){
|
||||
$rres = model('Family')->createFamily($max_sign_user['user_id']);
|
||||
}
|
||||
$is_create_family = db::name('vs_family')->where(['user_id' => $max_sign_user['user_id'],'type' => 1])->find();
|
||||
if($is_create_family){
|
||||
//是否已在家族中
|
||||
|
||||
Reference in New Issue
Block a user