Skip to content

Commit 6983ea8

Browse files
committed
README补充源代码集成
1 parent 65d4f9e commit 6983ea8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,14 @@ $private = file_get_contents(dirname(__FILE__).DIRECTORY_SEPARATOR.'private_key'
3232
$api->SetPrivateKey($private);
3333
$sig = $api->genSig('xiaojun', 24*3600*180);
3434
var_export($sig);
35-
```
35+
```
36+
37+
### 源代码集成
38+
```php
39+
require 'vendor/autoload.php';
40+
```
41+
直接上面的 ```require``` 语句替换为下面的
42+
```php
43+
require "TLSSigAPI.php";
44+
```
45+
注意语句的路径需要随着 api 文件的存放路径而修改。

0 commit comments

Comments
 (0)