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

发送模板消息有问题 #25

Closed
hebzhm opened this issue Jun 8, 2021 · 0 comments
Closed

发送模板消息有问题 #25

hebzhm opened this issue Jun 8, 2021 · 0 comments

Comments

@hebzhm
Copy link

hebzhm commented Jun 8, 2021

message_template_send($openId, $templateId, $data = [], $url = '', $miniprogramAppId = '', $miniprogramPagePath = '')
里面有参数url
内部的请求url $url = self::API_DOMAIN . 'cgi-bin/message/template/send?access_token=' . $this->get_access_token();

导致url覆盖掉 模板消息发送的链接无法抵达
把 $url = self::API_DOMAIN . 'cgi-bin/message/template/send?access_token=' . $this->get_access_token(); 向下移动 到 HttpCurl::post最近的一行

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

1 participant