chendeben 8 лет назад
Родитель
Сommit
63a3722aec
2 измененных файлов с 15 добавлено и 8 удалено
  1. 14 7
      .idea/workspace.xml
  2. 1 1
      App/Api/Controller/Telegram.php

+ 14 - 7
.idea/workspace.xml

@@ -93,8 +93,8 @@
       <file leaf-file-name="Telegram.php" pinned="false" current-in-tab="true">
       <file leaf-file-name="Telegram.php" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
         <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
           <provider selected="true" editor-type-id="text-editor">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="399">
-              <caret line="29" column="1" lean-forward="true" selection-start-line="29" selection-start-column="1" selection-end-line="29" selection-end-column="1" />
+            <state relative-caret-position="247">
+              <caret line="21" column="75" lean-forward="false" selection-start-line="21" selection-start-column="75" selection-end-line="21" selection-end-column="75" />
               <folding />
               <folding />
             </state>
             </state>
           </provider>
           </provider>
@@ -436,7 +436,7 @@
       <workItem from="1517971592963" duration="1932000" />
       <workItem from="1517971592963" duration="1932000" />
       <workItem from="1518312993749" duration="367000" />
       <workItem from="1518312993749" duration="367000" />
       <workItem from="1518314640825" duration="485000" />
       <workItem from="1518314640825" duration="485000" />
-      <workItem from="1519284203957" duration="1264000" />
+      <workItem from="1519284203957" duration="1303000" />
     </task>
     </task>
     <task id="LOCAL-00001" summary="telegram">
     <task id="LOCAL-00001" summary="telegram">
       <created>1519284784104</created>
       <created>1519284784104</created>
@@ -445,11 +445,18 @@
       <option name="project" value="LOCAL" />
       <option name="project" value="LOCAL" />
       <updated>1519284784104</updated>
       <updated>1519284784104</updated>
     </task>
     </task>
-    <option name="localTasksCounter" value="2" />
+    <task id="LOCAL-00002" summary="telegram">
+      <created>1519285642740</created>
+      <option name="number" value="00002" />
+      <option name="presentableId" value="LOCAL-00002" />
+      <option name="project" value="LOCAL" />
+      <updated>1519285642740</updated>
+    </task>
+    <option name="localTasksCounter" value="3" />
     <servers />
     <servers />
   </component>
   </component>
   <component name="TimeTrackingManager">
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="75095000" />
+    <option name="totallyTimeSpent" value="75134000" />
   </component>
   </component>
   <component name="ToolWindowManager">
   <component name="ToolWindowManager">
     <frame x="1280" y="-280" width="1920" height="1080" extended-state="0" />
     <frame x="1280" y="-280" width="1920" height="1080" extended-state="0" />
@@ -859,8 +866,8 @@
     </entry>
     </entry>
     <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
     <entry file="file://$PROJECT_DIR$/App/Api/Controller/Telegram.php">
       <provider selected="true" editor-type-id="text-editor">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="399">
-          <caret line="29" column="1" lean-forward="true" selection-start-line="29" selection-start-column="1" selection-end-line="29" selection-end-column="1" />
+        <state relative-caret-position="247">
+          <caret line="21" column="75" lean-forward="false" selection-start-line="21" selection-start-column="75" selection-end-line="21" selection-end-column="75" />
           <folding />
           <folding />
         </state>
         </state>
       </provider>
       </provider>

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

@@ -19,7 +19,7 @@ class Telegram extends Controller
         $msg=$telegram->Text();
         $msg=$telegram->Text();
         if ($msg=="地址"){
         if ($msg=="地址"){
             $chat_id = $telegram->ChatID();
             $chat_id = $telegram->ChatID();
-            $content = array('chat_id' => $chat_id, 'text' => '最新的官网地址是<br>https://ss5.my110.cf');
+            $content = array('chat_id' => $chat_id, 'text' => '最新的官网地址是\r\nhttps://ss5.my110.cf');
             $telegram->sendMessage($content);
             $telegram->sendMessage($content);
         }else{
         }else{
             $chat_id = $telegram->ChatID();
             $chat_id = $telegram->ChatID();