|
@@ -95,9 +95,10 @@ class GmService
|
|
|
// exit;
|
|
|
//发送post接口请求
|
|
|
$res = self::https_post(self::$tokenUrl, $data);
|
|
|
-
|
|
|
+ dump($res);
|
|
|
+ exit;
|
|
|
//解密返回token数据
|
|
|
- $token = self::SM2Decrypt(base64_decode($res['sm2EncryptData']), $k1);
|
|
|
+// $token = self::SM2Decrypt(base64_decode($res['sm2EncryptData']), $k1);
|
|
|
|
|
|
self::$token = $token;
|
|
|
//返回token
|