|
@@ -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);
|