Skip to content

Commit 8b2b95c

Browse files
author
longweiqiang_weimob
committed
更新文档
1 parent 0135893 commit 8b2b95c

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,18 @@
1111
```shell script
1212
pip install dada_openapi_client
1313
```
14+
15+
### 使用
16+
```python
17+
from dada_openapi_client.dada_client import DdMakeSign
18+
19+
body = {
20+
"source_id": "73753",
21+
"v": "1.0",
22+
"format": "json",
23+
"body": "{\"order_id\":\"111111111\"}",
24+
"timestamp": "1574927842"
25+
}
26+
d = DdMakeSign(appKey='dada11111111111', app_secret='111111111111111111111111')
27+
print(d.make_sign(body=body))
28+
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setuptools.setup(
1616
name = "dada_openapi_client",
17-
version = "1.0.1",
17+
version = "1.0.3",
1818
author = "Weiqiang.long",
1919
description = "达达签名数据封装",
2020
long_description = long_description,

0 commit comments

Comments
 (0)