Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/doraemonext/wechat-python-sdk
/ generate_timestamp
Function
generate_timestamp
wechat_sdk/utils.py:54–58 ·
view source on GitHub ↗
生成 timestamp :return: timestamp string
()
Source
from the content-addressed store, hash-verified
52
53
54
def
generate_timestamp():
55
""
"生成 timestamp
56
:
return
: timestamp string
57
""
"
58
return
int(time.time())
59
60
61
def
generate_nonce():
Callers
1
_encrypt_response
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected