@@ -173,12 +173,12 @@ class Jiashicang extends Api
'format' => 'json',
'charset' => 'UTF-8',
'encrypt_type'=> 'AES',
- 'sign_type' => 'RSA',
+ 'sign_type' => 'RSA2',
];
$client = new \DefaultIcbcClient($data['app_id'],$private_key,$data['sign_type'],$data['charset'],$data['format'],$public_key,'','','','');
$request = [
- 'serviceUrl' => 'https://122.238.8.99:8082/api/mybank/farm/farmplatf/syncCommunityData',
+ 'serviceUrl' => 'https://122.238.8.99:8082/api/mybank/farm/farmplatf/syncCommunityData/V1',
'serviceUrl' => 'https://gw.dccnet.com.cn:8082/api/mybank/farm/farmplatf/syncCommunityData/V1',
'method' => 'POST',
'isNeedEncrypt' => false,
@@ -31,6 +31,10 @@ include_once 'IcbcConstants.php';
}
public static function doPost($url, $params, $charset){
+ dump($url);
+ dump($params);
+ dump($charset);
+
$headers = array();
$headers[] = 'Expect:';
$headers[IcbcConstants::$VERSION_HEADER_NAME] = self::$version;