Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发辅助-开发调试-获取component_access_token报错 #29

Open
YOHN89 opened this issue Mar 13, 2023 · 2 comments
Open

开发辅助-开发调试-获取component_access_token报错 #29

YOHN89 opened this issue Mar 13, 2023 · 2 comments

Comments

@YOHN89
Copy link

YOHN89 commented Mar 13, 2023

@YOHN89
Copy link
Author

YOHN89 commented Mar 13, 2023

环境:微信云托管部署最新版本。ticket能获取到。

@BWmelon
Copy link

BWmelon commented Nov 1, 2023

环境:微信云托管部署最新版本。ticket能获取到。

通过下载源码部署到云开发方式需要手动云调用-微信令牌权限中添加需要使用的接口(README.md中提到了一句“需打开云托管开放接口服务开关后才能免鉴权调用微信开放api”),根据一键部署结果来看,需要添加下面几个接口,否则调用相关接口会报错502内部错误:
/cgi-bin/component/api_component_token
/cgi-bin/component/api_get_authorizer_info
/cgi-bin/component/api_get_authorizer_list
/cgi-bin/component/api_query_auth
/cgi-bin/component/api_create_preauthcode
/cgi-bin/component/api_authorizer_token
/wxa/gettemplatelist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants