bugfix
This commit is contained in:
parent
40f17cebd5
commit
8b90bc9cbe
@ -98,7 +98,7 @@ class WOAHandler:
|
||||
# 2. 获取 AppID (这里假设你有,或者从配置读,加密必须用到 AppID 填充在末尾)
|
||||
# 注意:原生实现需要知道 AppID 才能正确加密,否则微信无法解密
|
||||
# 为了演示,这里假设有一个 app_id 属性,请自行补充
|
||||
app_id = "YOUR_APP_ID"
|
||||
app_id = self.app_id
|
||||
|
||||
# 3. 拼接:Random(16) + Len(4) + Content + AppID
|
||||
content_bytes = text.encode('utf-8')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user