hrjy 3 년 전
부모
커밋
c7403cdf63
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      crmeb/services/GmService.php

+ 5 - 3
crmeb/services/GmService.php

@@ -71,16 +71,18 @@ class GmService
 
         //echo $this->string2hex(base64_decode(self::PRIVATE_KEY));
 
-        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
+//        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
 
-        var_dump(1111);
-        exit;
 
         //初始化转换密钥信息
         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);
 
+        dump($k1);
+        dump($k2);
+        dump($gf_k);
+
         //拼接参数数组
         $data = [
             'appID' => self::$appID,