linwu hai 1 ano
pai
achega
15a729ef5a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/common/service/RensheService.php

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

@@ -182,8 +182,9 @@ class RensheService
         Log::info($this->_log_name . ':' . json_encode($this->_data));
 
         //请求头
+        Log::info($this->_log_name . 'TIME:' . $this->_time);
         $enTime = base64_encode(http_request('http://sm4.jinjianghc.com/encode.php', 'POST', ['data' => $this->_time]));
-        Log::info($this->_log_name . 'TOKEN:' . $enTime);
+        Log::info($this->_log_name . 'TOKEN:' . http_request('http://sm4.jinjianghc.com/encode.php', 'POST', ['data' => $this->_time]));
         // $enTime = base64_encode(openssl_encrypt($this->_time, "SM4", self::KEY, 0, self::IV));
         $header = [
             'Content-Type: application/json',