Browse Source

Merge branch 'develop'

duqinya 5 years ago
parent
commit
3f175b541b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Repositories/MemberGroupRepository.php

+ 1 - 1
app/Repositories/MemberGroupRepository.php

@@ -60,7 +60,7 @@ class MemberGroupRepository {
                            }
                            }
                        }
                        }
                        $data[] = [
                        $data[] = [
-                           'uid' => $user['uid'],
+                           'uid' => intval($user['uid']),
                            'username' => subtext($user['username'], 10),
                            'username' => subtext($user['username'], 10),
                            'avatar' => $user['avatar'],
                            'avatar' => $user['avatar'],
                            'follow_status' => $this->getFollowStatus($userInfo['uid'], $user['uid']),
                            'follow_status' => $this->getFollowStatus($userInfo['uid'], $user['uid']),