wupengfei 2 年之前
父節點
當前提交
bb9d4831ad
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Forum.php

+ 1 - 1
.idea/workspace.xml

@@ -205,7 +205,7 @@
       <workItem from="1670719843429" duration="8446000" />
       <workItem from="1670807412269" duration="9728000" />
       <workItem from="1671065604459" duration="7662000" />
-      <workItem from="1671152221434" duration="11923000" />
+      <workItem from="1671152221434" duration="11950000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Forum.php

@@ -839,7 +839,7 @@ class Forum extends Base
     {
         // 所有我评论的回答
         $all_comment = ForumReplyComment::where(['user_id'=>$this->user_id,'is_deleted'=>0])->column('id');
-        if(empty($all_comment)) $this->success('ok',['list'=>null,'ext'=>$all_comment]);
+        if(empty($all_comment)) $this->success('ok',['list'=>null]);
         $sel_where  = [];
         $title = input('get.title');
         if($title)  $sel_where[]  = ['i.title','like','%'.$title.'%'];