|
@@ -29,7 +29,7 @@ class GmService
|
|
|
protected static $iv = 'abcdefghABCDEFGH';
|
|
protected static $iv = 'abcdefghABCDEFGH';
|
|
|
protected static $appID = "3f1a51c1-39d4-48e1-8119-a37b63c0ed8c";
|
|
protected static $appID = "3f1a51c1-39d4-48e1-8119-a37b63c0ed8c";
|
|
|
protected static $appSecretKey = "66a81e7a-dea3-4870-9c63-58712e13aa9b";
|
|
protected static $appSecretKey = "66a81e7a-dea3-4870-9c63-58712e13aa9b";
|
|
|
- protected static $tokenUrl = "https://tlop.zjtlcb.com/api/HOGENDY";//回归环境
|
|
|
|
|
|
|
+ protected static $tokenUrl = "https://mouldai.com/api/HOGENDY";//回归环境
|
|
|
protected static $token;
|
|
protected static $token;
|
|
|
//合作机构自有公钥
|
|
//合作机构自有公钥
|
|
|
const PUBLIC_KEY = "";
|
|
const PUBLIC_KEY = "";
|
|
@@ -158,7 +158,7 @@ class GmService
|
|
|
dump($json);
|
|
dump($json);
|
|
|
dump("请求数据");
|
|
dump("请求数据");
|
|
|
dump($data);
|
|
dump($data);
|
|
|
- $res = self::https_post("https://mouldai.com/apiSIT/tzyj/scanPaymentCode", $data);
|
|
|
|
|
|
|
+ $res = self::https_post("https://mouldai.com/api/HOGENDY/scanPaymentCode", $data);
|
|
|
|
|
|
|
|
//解密sm2密钥
|
|
//解密sm2密钥
|
|
|
$sm2Key = self::SM2Decrypt(base64_decode($res['sm2EncryptData']), $k1);
|
|
$sm2Key = self::SM2Decrypt(base64_decode($res['sm2EncryptData']), $k1);
|