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

sendTemplate 能优化下支持第一个参数为object options? #124

Open
akebe opened this issue Jun 24, 2020 · 0 comments
Open

sendTemplate 能优化下支持第一个参数为object options? #124

akebe opened this issue Jun 24, 2020 · 0 comments

Comments

@akebe
Copy link

akebe commented Jun 24, 2020

不觉得现在的固定参数模式很不科学吗,写错一个顺序就不行,直接

api.sendTemplate({
  openid, 
  templateId, 
  url, 
  topColor,
  data
});

多直观

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