hrjy há 2 anos atrás
pai
commit
042fb89e08
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      crmeb/services/GmService.php

+ 4 - 4
crmeb/services/GmService.php

@@ -77,10 +77,10 @@ class GmService
         //初始化转换密钥信息
         php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
         halt(compact('k1'));
-        php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
-        halt(compact('k1', 'k2'));
-        php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);
-        halt(compact('k1', 'k2', 'gf_k'));
+//        php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
+//        halt(compact('k1', 'k2'));
+//        php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);
+//        halt(compact('k1', 'k2', 'gf_k'));
         //拼接参数数组
 //        $data = [
 //            'appID' => self::$appID,