hrjy 2 роки тому
батько
коміт
0bb6faa705
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      crmeb/services/GmService.php

+ 2 - 2
crmeb/services/GmService.php

@@ -71,9 +71,9 @@ class GmService
         $key = strtoupper(md5(self::getKey()));
 
 
-        //echo $this->string2hex(base64_decode(self::PRIVATE_KEY));
+        echo self::string2hex(base64_decode(self::PRIVATE_KEY));
 
-//        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
+        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
 
         //初始化转换密钥信息
         php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);