hrjy 3 anni fa
parent
commit
414c6d6083
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      crmeb/services/GmService.php

+ 1 - 0
crmeb/services/GmService.php

@@ -230,6 +230,7 @@ class GmService
     {
     {
         //sm2加密
         //sm2加密
         php_SM2Encrypt($data, $cipher, $pubkey);
         php_SM2Encrypt($data, $cipher, $pubkey);
+        dump(function_exists('php_SM2Encrypt'));
         dump($cipher);
         dump($cipher);
         exit;
         exit;
         //php_SM2Encrypt接口返回的密文值是c1c3c2格式,以下示例转DER编码
         //php_SM2Encrypt接口返回的密文值是c1c3c2格式,以下示例转DER编码