hrjy 2 年之前
父节点
当前提交
d0c6cd0cd9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      crmeb/services/GmService.php

+ 3 - 3
crmeb/services/GmService.php

@@ -76,9 +76,9 @@ class GmService
         echo self::string2hex(base64_decode(self::PUBLIC_KEY));
 
 //        //初始化转换密钥信息
-//        php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
-//        php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
-//        php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);
+        php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
+        php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
+        php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);
 //
 //        //拼接参数数组
 //        $data = [