2 Commits be9653f592 ... 941ca84e77

Author SHA1 Message Date
  hrjy 941ca84e77 commit 2 years ago
  hrjy 3d54e7c618 commit 2 years ago
1 changed files with 4 additions and 3 deletions
  1. 4 3
      crmeb/services/GmService.php

+ 4 - 3
crmeb/services/GmService.php

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