544782275@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
b0108b5a90
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -220,10 +220,10 @@ class Index extends Base
         if($comment_list){
             foreach ($comment_list as $key=>&$value){
                 $user_info = Db::name('store_member')->field('name,headimg,privacy_switch')->where('id',$value['user_id'])->find();
-                if($user_info['privacy_switch']){
+                /*if($user_info['privacy_switch']){
                     unset($comment_list[$key]);
                     continue;
-                }
+                }*/
                 $value['user_name'] = $user_info['name'];
                 $value['user_headimg'] = $user_info['headimg'];
                 //获取该条评论回复的数量