hrjy hace 2 años
padre
commit
84853d7b80
Se han modificado 1 ficheros con 2 adiciones y 5 borrados
  1. 2 5
      crmeb/services/GmService.php

+ 2 - 5
crmeb/services/GmService.php

@@ -79,11 +79,6 @@ class GmService
         php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
         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::CGB_PUBLIC_KEY)), $gf_k);
 
 
-        dump($k1);
-        dump($k2);
-        dump($gf_k);
-        exit;
-
         //拼接参数数组
         //拼接参数数组
         $data = [
         $data = [
             'appID' => self::$appID,
             'appID' => self::$appID,
@@ -96,6 +91,8 @@ class GmService
         //拼接签名参数,md5转大写
         //拼接签名参数,md5转大写
         $data['sign'] = self::SM3Crypt($data['random'] . $data['seqNO'] . self::$appSecretKey . $key);
         $data['sign'] = self::SM3Crypt($data['random'] . $data['seqNO'] . self::$appSecretKey . $key);
 
 
+        dump($data);
+        exit;
         //发送post接口请求
         //发送post接口请求
         $res = self::https_post(self::$tokenUrl, $data);
         $res = self::https_post(self::$tokenUrl, $data);