| 12345678910111213141516171819 |
- <?php
- namespace Heanup\App\Api\Controller;
- use Heanup\App\Api\Controller;
- use Heanup\Frame\Logger;
- class ReceivedSms extends Controller
- {
- protected function main()
- {
- Logger::setLog(file_get_contents("php://input"),APP_DIR . "/test_msg.txt");
- $this->showSuccess();
- // file_put_contents(APP_DIR . "/test_msg.txt", file_get_contents("php://input").PHP_EOL,FILE_APPEND);
- }
- }
|