notice.js 433 B

1234567891011121314151617181920212223
  1. import fly from '@/utils/request.js'
  2. export function getNewInform(x,y){
  3. return fly.get('/system/notice/list',{
  4. noticeType:1,
  5. status:0,
  6. pageNum:x,
  7. pageSize:y
  8. }).then(res=>res)
  9. }
  10. export function getNewNotice(x,y){
  11. return fly.get('/system/notice/list',{
  12. noticeType:1,
  13. status:0,
  14. pageNum:x,
  15. pageSize:y
  16. }).then(res=>res)
  17. }
  18. export function getNoticeDetail(id){
  19. return fly.get(`/system/notice/${id}`).then(res=>res)
  20. }