shish 2 lat temu
rodzic
commit
78c86adc6e
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      app-ghs/controllers/TestController.php

+ 7 - 3
app-ghs/controllers/TestController.php

@@ -31,14 +31,18 @@ use common\components\util;
 class TestController extends BaseController
 {
 
-    public $guestAccess = ['debt', 'apply', 'clear', 'ls-trade-query', 'refund-query', 'inform', 'notice', 'order-query', 'add-order', 'index', 'get', 'trade-query', 'query', 'balance-query', 'refund'];
+    public $guestAccess = ['ip', 'debt', 'apply', 'clear', 'ls-trade-query', 'refund-query', 'inform', 'notice', 'order-query', 'add-order', 'index', 'get', 'trade-query', 'query', 'balance-query', 'refund'];
 
-    //欠款的查询与跟踪 ssh 20240103
-    public function actionDebt()
+    public function actionIp()
     {
         echo "<pre>";
         print_r($_SERVER);
         die;
+    }
+
+    //欠款的查询与跟踪 ssh 20240103
+    public function actionDebt()
+    {
         $customId = 17081;
         $custom = CustomClass::getById($customId, true);
         if (empty($custom)) {