Forráskód Böngészése

删除无用代码

lizhen_gitee 10 hónapja
szülő
commit
71e35206a1

+ 0 - 5
application/api/controller/Usercenter.php

@@ -1757,11 +1757,6 @@ $resArray['money'] = $money;  //返回给前端的计算结果
             'gender' => $this->auth->gender == 1 ? 0 : 1,       //异性
             'is_active' => 1,                                   //在线的
             'status' =>1,                                       //未封禁用户
-//            'is_online' => 0,                                   //不在语聊间的
-            'is_livebc' => 0,                                   //不在直播的
-//            'real_status' => 1,                               //真人认证
-//            'idcard_status' => 1,                               //实名认证
-            // 'id' => ['NOT IN',$my_follow]                       //不是好友的
             'is_kefu' => 0,                                     //不是客服
         ];
         if ($this->auth->gender == 1) {

+ 1 - 1
application/common/library/Auth.php

@@ -838,7 +838,7 @@ class Auth
     }
 
     //某用户的礼物墙
-    public function giftwall($uid){
+    private function giftwall($uid){
         //$uid = $this->auth->id;
         //聊天礼物
         $gift_user_typing = Db::name('gift_user_typing')->alias('log')