chendeben před 8 roky
rodič
revize
5da201c037
2 změnil soubory, kde provedl 13 přidání a 6 odebrání
  1. 12 5
      .idea/workspace.xml
  2. 1 1
      App/Api/Controller/Telegram.php

+ 12 - 5
.idea/workspace.xml

@@ -94,7 +94,7 @@
         <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
           <provider selected="true" editor-type-id="text-editor">
             <state relative-caret-position="228">
-              <caret line="21" column="70" lean-forward="false" selection-start-line="21" selection-start-column="70" selection-end-line="21" selection-end-column="70" />
+              <caret line="21" column="80" lean-forward="false" selection-start-line="21" selection-start-column="80" selection-end-line="21" selection-end-column="80" />
               <folding />
             </state>
           </provider>
@@ -429,7 +429,7 @@
       <workItem from="1517971592963" duration="1932000" />
       <workItem from="1518312993749" duration="367000" />
       <workItem from="1518314640825" duration="485000" />
-      <workItem from="1519284203957" duration="2685000" />
+      <workItem from="1519284203957" duration="2786000" />
     </task>
     <task id="LOCAL-00001" summary="telegram">
       <created>1519284784104</created>
@@ -480,11 +480,18 @@
       <option name="project" value="LOCAL" />
       <updated>1519286651355</updated>
     </task>
-    <option name="localTasksCounter" value="8" />
+    <task id="LOCAL-00008" summary="telegram">
+      <created>1519287136147</created>
+      <option name="number" value="00008" />
+      <option name="presentableId" value="LOCAL-00008" />
+      <option name="project" value="LOCAL" />
+      <updated>1519287136147</updated>
+    </task>
+    <option name="localTasksCounter" value="9" />
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="76516000" />
+    <option name="totallyTimeSpent" value="76617000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="1280" y="-280" width="1920" height="1080" extended-state="0" />
@@ -895,7 +902,7 @@
     <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="228">
-          <caret line="21" column="70" lean-forward="false" selection-start-line="21" selection-start-column="70" selection-end-line="21" selection-end-column="70" />
+          <caret line="21" column="80" lean-forward="false" selection-start-line="21" selection-start-column="80" selection-end-line="21" selection-end-column="80" />
           <folding />
         </state>
       </provider>

+ 1 - 1
App/Api/Controller/Telegram.php

@@ -19,7 +19,7 @@ class Telegram extends Controller
         $telegram=new \Telegram("532191649:AAGxdBNPQGrHo0Ralqpg_sSZFrJJwCh0KIk");
         $msg=$telegram->getData();
 //        Logger::setLog("cdb@meitu.com",json_encode($msg));
-        file_put_contents("/data/wwwlogs/log.txt", json_encode($msg));
+        file_put_contents("/data/wwwlogs/log.txt", json_encode($msg),FILE_APPEND);
         if ($msg=="地址"){
             $chat_id = $telegram->ChatID();
             $content = array('chat_id' => $chat_id, 'text' => '最新的官网地址是【 https://ss5.my110.cf 】');