wupengfei il y a 2 ans
Parent
commit
9218b2677e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 2
      .idea/workspace.xml
  2. 1 0
      application/api/controller/Article.php

+ 1 - 2
.idea/workspace.xml

@@ -2,7 +2,6 @@
 <project version="4">
   <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/api/controller/Article.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Article.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
@@ -266,7 +265,7 @@
       <workItem from="1678928310721" duration="23741000" />
       <workItem from="1679014817602" duration="22183000" />
       <workItem from="1679287382176" duration="14525000" />
-      <workItem from="1679359715116" duration="20444000" />
+      <workItem from="1679359715116" duration="20581000" />
     </task>
     <servers />
   </component>

+ 1 - 0
application/api/controller/Article.php

@@ -1464,6 +1464,7 @@ class Article extends Base
             $article_auth = ArticleItem::getArticleAuth($v['buid'],APPNAME,APPLOGO);
             $v['app_name'] = $article_auth['app_name'];
             $v['app_logo'] = $article_auth['app_logo'];
+            $v['is_normal'] = CheckPower::checkModulesPower($v['article_id'],$v['item_id'],$this->request->controller());
         });
         $total_num =ArticleCommentLike::where(['l.user_id'=>$this->user_id,'l.type'=>1])
             ->alias('l')