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

MediaTypes 可以拉出去称为一个配置文件。 #2

Open
JeffLi1993 opened this issue Aug 10, 2016 · 2 comments
Open

MediaTypes 可以拉出去称为一个配置文件。 #2

JeffLi1993 opened this issue Aug 10, 2016 · 2 comments

Comments

@JeffLi1993
Copy link
Owner

JeffLi1993 commented Aug 10, 2016

MediaTypes

@JeffLi1993
Copy link
Owner Author

现在的代码里,就那个 东西改成 统一接口获取会好一些。不然 MimeType 那么多你要写的 if else 太多了。
MediaTypes 可以拉出去称为一个配置文件。

@syhily
Copy link
Contributor

syhily commented Aug 31, 2016

So this means refactoring the MediaTypes?

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

No branches or pull requests

2 participants