chuweiqiang 1 year ago
parent
commit
fd8f5b4c28
2 changed files with 2 additions and 3 deletions
  1. 1 2
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Forum.php

+ 1 - 2
.idea/workspace.xml

@@ -3,7 +3,6 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/common/service/CheckPower.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/service/CheckPower.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -569,7 +568,7 @@
       <workItem from="1710722050864" duration="8908000" />
       <workItem from="1710808231575" duration="7017000" />
       <workItem from="1710817453185" duration="16334000" />
-      <workItem from="1710896140284" duration="13234000" />
+      <workItem from="1710896140284" duration="14027000" />
     </task>
     <servers />
   </component>

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

@@ -1712,7 +1712,7 @@ class Forum extends Base
                 $v['show_title'] = ForumReply::where('id',$v['reply_id'])->value('content');
             }else{
                 $v['is_normal'] = CheckPower::checkModulesPower($v['forum_id'], 0, $this->request->controller());
-                $v['show_title'] = UserForum::where('id',$v['forum_id'])->value('title');
+                $v['show_title'] = UserForum::where('id',$v['forum_id'])->value('content');
             }
         });
         $total_num =  PlatformLike::where([['l.user_id','=',$this->user_id],['l.type','=',8]])->alias('l')