作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

修改登录邀请人字段

@@ -163,7 +163,8 @@ class User extends Api @@ -163,7 +163,8 @@ class User extends Api
163 ->update($userData); 163 ->update($userData);
164 $this->success("登录成功!", ['user_id'=>$findThirdPartyUser['user_id'],'token' => $token, 'avatar' => $wxUserData['avatarUrl']]); 164 $this->success("登录成功!", ['user_id'=>$findThirdPartyUser['user_id'],'token' => $token, 'avatar' => $wxUserData['avatarUrl']]);
165 } else { 165 } else {
166 - if(empty($data['inviter'])){ 166 +
  167 + if(empty($data['invite_id'])){
167 $invite_id = ''; 168 $invite_id = '';
168 }else{ 169 }else{
169 $invite_id = $data['invite_id']; 170 $invite_id = $data['invite_id'];
@@ -9155,7 +9155,7 @@ @@ -9155,7 +9155,7 @@
9155 9155
9156 <div class="row mt0 footer"> 9156 <div class="row mt0 footer">
9157 <div class="col-md-6" align="left"> 9157 <div class="col-md-6" align="left">
9158 - Generated on 2020-03-13 16:12:54 </div> 9158 + Generated on 2020-03-13 17:16:06 </div>
9159 <div class="col-md-6" align="right"> 9159 <div class="col-md-6" align="right">
9160 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a> 9160 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
9161 </div> 9161 </div>