Update README.md

This commit is contained in:
庞大花 2020-03-09 10:36:19 +08:00 committed by GitHub
parent 40ff9778b5
commit 3ffa66bbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,22 +58,11 @@ PHP VERSION >= 7.0
```
## 示例
```php
$sdk = new WxworkFinanceSdk("wwd08coe7d775abaaa", "zJ6k0naVVQ--gt9PUSSEvs03zW_nlDVmjAkPOTAfrew", [
"proxy_host" => "hello", // 代理地址
"proxy_password" => "world", // 代理密码
"timeout" => 100, // 超时时间
]);
var_dump(json_decode($sdk->getChatData(0, 100)));
return [
'data' => string // 返回的数据,
'nextIndex' => string // 下一个指针,
'isFinished' => bool // 是否继续获取 下一条数据标识
];
var_dump($sdk->getMediaData("dddd"));
string WxworkFinanceSdk::decryptData(string $randomKey, string $encryptStr);
```
## 示例
wxwork_finance_sdk.php