소스 검색

fixed:用户端-微信登录-社交账号关联

刘学玺 3 달 전
부모
커밋
c53004320c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/Client/AccountService.php

+ 1 - 1
app/Services/Client/AccountService.php

@@ -348,7 +348,7 @@ class AccountService
             'nickname' => $userInfo['nickname'] ?? '',
             'avatar' => $userInfo['avatar'] ?? '',  // 微信返回的头像字段名
             'gender' => $userInfo['gender'] ?? 0,          // 微信返回的性别字段名
-            'status' => 1,                              // 默认状态为有效
+            'state' => 1,                              // 默认状态为有效
         ]);
     }