|
@@ -63,6 +63,10 @@ class Relation extends Api
|
|
$this->error('不能跟自己建立关系');
|
|
$this->error('不能跟自己建立关系');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(!$this->user_auth_limit()){
|
|
|
|
+ $this->error('请先完成实名认证');
|
|
|
|
+ }
|
|
|
|
+
|
|
//关系检测
|
|
//关系检测
|
|
$relation_id = input('relation_id','');
|
|
$relation_id = input('relation_id','');
|
|
$relation = Db::name('relation')->where('id',$relation_id)->find();
|
|
$relation = Db::name('relation')->where('id',$relation_id)->find();
|