notice.js 258 B

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