chuweiqiang 1 year ago
parent
commit
4b7423cef6
2 changed files with 2 additions and 7 deletions
  1. 1 6
      .idea/workspace.xml
  2. 1 1
      application/operate/controller/Activity.php

+ 1 - 6
.idea/workspace.xml

@@ -2,12 +2,7 @@
 <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/Expedite.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Expedite.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/operate/controller/Activity.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/Activity.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/log/single.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single.log" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/log/single_error.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_error.log" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/log/single_sql.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_sql.log" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -583,7 +578,7 @@
       <workItem from="1711588946025" duration="20811000" />
       <workItem from="1711672177712" duration="21603000" />
       <workItem from="1711758657673" duration="11105000" />
-      <workItem from="1711935199010" duration="8535000" />
+      <workItem from="1711935199010" duration="8609000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/operate/controller/Activity.php

@@ -155,7 +155,7 @@ class Activity extends Controller
                 $data['user_id'] = '';
             }
             if(!$post['release_time'])  $data['release_time'] = date("Y-m-d H:i:s");
-            if($data['hot_num'] != $data['hot_num_old']) $data['hot_time'] = date("Y-m-d H:i:s");
+            if($data['hot_nm'] != $data['hot_num_old']) $data['hot_time'] = date("Y-m-d H:i:s");
             //郵箱 和短信
             if($this->request->action()== 'edit' && isset($data['push_switch']) && $data['push_switch'] == 1)
             {