Kaynağa Gözat

配置代理

陈德本 5 yıl önce
ebeveyn
işleme
ca987ed782
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      App/Api/Controller/ReceivedSms.php

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

@@ -10,7 +10,7 @@ class ReceivedSms extends Controller
 {
     protected function main()
     {
-        file_put_contents(APP_DIR . "/test_msg.txt", file_get_contents("php://input").PHP_EOL);
+        file_put_contents(APP_DIR . "/test_msg.txt", file_get_contents("php://input").PHP_EOL,FILE_APPEND);
     }
 
 }