new.js 279 B

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