shish 2 years ago
parent
commit
3e19701c0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app-hd/controllers/NoticeController.php

+ 2 - 2
app-hd/controllers/NoticeController.php

@@ -27,8 +27,8 @@ class NoticeController extends PublicController
     public function actionPayCallback()
     {
         $headers = Yii::$app->getRequest()->getHeaders();
-        $version = $headers->get('version');
-        print_r($headers);
+        $host = $headers->get('host');
+        echo $host;
     }