hrjy 2 年之前
父節點
當前提交
aedc63295b
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      crmeb/services/GmService.php

+ 2 - 3
crmeb/services/GmService.php

@@ -43,9 +43,6 @@ class GmService
         // 初始化加密扩展
 //        echo "--------php_crypto_init 初始化开始--------\n";
         $path = "/www/server/php/73/libcryptAPIsm_lnx64.so";
-        if (file_exists($path))
-            dump(file_get_contents($path));
-        exit;
         php_crypto_init($path);
 //        echo "--------php_crypto_init 初始化结束-------\n";
     }
@@ -78,6 +75,8 @@ class GmService
 
 //        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
 
+        dump(function_exists('php_HextoAsc'));
+        exit;
 
         //初始化转换密钥信息
         php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);