Browse Source

不知道为啥执行了 index 索性把index注释掉

lvhao 4 months ago
parent
commit
a6598c5ebb
1 changed files with 19 additions and 19 deletions
  1. 19 19
      core/CoreApp/controllers/Queueu9.php

+ 19 - 19
core/CoreApp/controllers/Queueu9.php

@@ -37,29 +37,29 @@ class Queueu9 extends Start_Controller {
         }
         }
     }
     }
     public function _index(){
     public function _index(){
-       echo "<pre>";
-       $user_agent = $_SERVER['HTTP_USER_AGENT'];
-       $token = $_SERVER['HTTP_X_AUTH_TOKEN'];
-       $time =  $this->input->get('time',true);
-       $check_str = "ququexd_".$time;
-       if(empty($user_agent)){
-           exit('No direct script access allowed');
-       }
-       if($user_agent != 'XuChangLongYi/1.0 (Erp)'){
-           exit('Illegal request');
-       }
-       if(empty($token)){
-           exit('No access permission');
-       }
+    //       echo "<pre>";
+    //    $user_agent = $_SERVER['HTTP_USER_AGENT'];
+    //    $token = $_SERVER['HTTP_X_AUTH_TOKEN'];
+    //    $time =  $this->input->get('time',true);
+    //    $check_str = "ququexd_".$time;
+    //    if(empty($user_agent)){
+    //        exit('No direct script access allowed');
+    //    }
+    //    if($user_agent != 'XuChangLongYi/1.0 (Erp)'){
+    //        exit('Illegal request');
+    //    }
+    //    if(empty($token)){
+    //        exit('No access permission');
+    //    }
        
        
-       $sercet_str = md5($check_str);
+    //    $sercet_str = md5($check_str);
        
        
-       if($sercet_str != $token){
-           exit("Request permission is illegal");
-       }
+    //    if($sercet_str != $token){
+    //        exit("Request permission is illegal");
+    //    }
        
        
        
        
-       exit("执行完毕");
+    //    exit("执行完毕");
     }
     }
 
 
      //执行小单的流转到临时仓的队列  
      //执行小单的流转到临时仓的队列