notification.js 413 B

123456789101112131415161718
  1. import {get, post} from '../http'
  2. const notification = {
  3. notificaitonPages: (params) => {
  4. return post('notification/pages', params)
  5. },
  6. sendNotification: (params) => {
  7. return post('notification/send', params)
  8. },
  9. viewNotification: (params) => {
  10. return get('notification/view', params)
  11. },
  12. getPlatformTarget: () => {
  13. return get('notification/target')
  14. }
  15. }
  16. export default notification;