|
@@ -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',
|