taoran / sign-contract
sign-contract
v1.0.1
2020-02-15 08:41 UTC
Requires
- php: >=7.0.0
This package is auto-updated.
Last update: 2025-03-15 19:27:14 UTC
README
电子合同 - 对接上上签平台
安装
composer require taoran/sign-contract
示例
$sc = new \Taoran\SignContract\SignContract([
'_serverHost' => $_serverHost,
'_developerId' => $_developerId,
'_pem' => $_pem, //私钥
]);
$path = '/user/getPersonalCredential/';
$param = [
'account' => '130xxxxxxxx'
];
//调用
$result = $sc->sendPostApi($path, $param);
var_dump($result);