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

关于素材获取的一个建议 #172

Closed
iam993 opened this issue Dec 8, 2015 · 3 comments
Closed

关于素材获取的一个建议 #172

iam993 opened this issue Dec 8, 2015 · 3 comments

Comments

@iam993
Copy link

iam993 commented Dec 8, 2015

既然media类中的download获取文件同时能够附加扩展名,那为什么就只支持那几个呢?

我建议要不然就补齐一下其他类型(类似mp4等的文件),要不然扩展名就由开发者来做,我更喜欢前者。

另外,我获取媒体时,有些是json,有些是array,最后是二进制。所以代码写的都很死。是微信故意这样做的吗?还是跟php的环境有关?

@overtrue
Copy link
Collaborator

overtrue commented Dec 8, 2015

@iam993 微信的API设计就是这样的,太SB了,各种难用,同一个API返回不同类型...

@overtrue
Copy link
Collaborator

overtrue commented Dec 8, 2015

@iam993 3.0里面已经支持获取流内容,直接把原内容给你,这样你想怎么处理都方便。

@iam993
Copy link
Author

iam993 commented Dec 8, 2015

真搞不懂这种大公司的想法

@overtrue overtrue closed this as completed Dec 8, 2015
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