作者 王智

修改

... ... @@ -499,7 +499,7 @@ class User extends Api
{
$UserId = $this->is_token($this->request->header());
$params = $this->request->param();
if ($UserId != $params['user_id']) {
if($UserId!=$params['user_id']){
//添加绑定关系
$IsInvite = Db::name('group')->where('user_id', $UserId)->where('fuser_id', $params['user_id'])->find();
if (!empty($IsInvite)) {
... ...