college.js 479 B

12345678910111213141516171819202122232425
  1. import Serve from '@/api/serve'
  2. class College {
  3. static college() {
  4. return Serve.get(`/college`);
  5. }
  6. static getArticleList(data) {
  7. return Serve.get(`/articleList`,data);
  8. }
  9. static getCategoryList() {
  10. return Serve.get(`/categoryList`);
  11. }
  12. static getArticleDetail(data) {
  13. return Serve.get(`/article/detail`,data);
  14. }
  15. static getRecommend() {
  16. return Serve.get(`/recommend`);
  17. }
  18. }
  19. export default College;