moments.js 398 B

1234567891011121314151617181920212223242526
  1. import request from '@/utils/request'
  2. export function category(data) {
  3. return request({
  4. url: '/api/article/category/list',
  5. method: 'get',
  6. data
  7. });
  8. }
  9. export function article(data,cid) {
  10. return request({
  11. url: '/api/article/list/'+cid,
  12. method: 'get',
  13. data
  14. });
  15. }
  16. export function details(data,id) {
  17. return request({
  18. url: '/api/article/details/'+id,
  19. method: 'get',
  20. data
  21. });
  22. }