linwu 2 gadi atpakaļ
vecāks
revīzija
7b01493201
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/common/service/RensheService.php

+ 2 - 2
app/common/service/RensheService.php

@@ -181,8 +181,8 @@ class RensheService
         Log::info($this->_log_name . ':' . json_encode($this->_data));
 
         //请求头
-        $enTime = base64_encode(http_request('http://192.168.1.91/sm4_en.php', 'POST', ['data' => $this->_time]));
-//        $enTime = base64_encode(openssl_encrypt($this->_time, "SM4", self::KEY, 0, self::IV));
+        $enTime = base64_encode(http_request('http://10.10.10.63/sm4_en.php', 'POST', ['data' => $this->_time]));
+        // $enTime = base64_encode(openssl_encrypt($this->_time, "SM4", self::KEY, 0, self::IV));
         $header = [
             'Content-Type: application/json',
             'Author-source: 1',