Skip to content

Commit 7c8824f

Browse files
author
wsj
committed
优化数电发票
1 parent 5ec4cb6 commit 7c8824f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

setup.py

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

66
setup(
77
name="tax-invoice",
8-
version="1.0.16",
8+
version="1.0.17",
99
author="yuejianghe",
1010
author_email="yuejianghe@qq.com",
1111
description="发票SDK Python 电子发票/数电发票/全电发票/数电票/开票",

tax/invoice/utils/http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def _prepare_headers(self, method, path, random_string, timestamp, signature):
4343
'AppKey': self.app_key,
4444
'TimeStamp': timestamp,
4545
'RandomString': random_string,
46-
'Sign': signature
46+
'Sign': signature,
47+
'Sdk':'Py1017'
4748
}
4849

4950
if self.authorization:

0 commit comments

Comments
 (0)