update
This commit is contained in:
parent
f2fdc85c80
commit
78e744143f
@ -39,10 +39,7 @@ class WecomClient:
|
|||||||
转换小程序身份到企业微信
|
转换小程序身份到企业微信
|
||||||
可以使用code或openid
|
可以使用code或openid
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
# 获取provider_token
|
|
||||||
provider_token = await self.get_provider_token()
|
|
||||||
|
|
||||||
# 构建请求参数
|
# 构建请求参数
|
||||||
url = "https://qyapi.weixin.qq.com/cgi-bin/miniprogram/jscode2session"
|
url = "https://qyapi.weixin.qq.com/cgi-bin/miniprogram/jscode2session"
|
||||||
params = {
|
params = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user