diff --git a/src/api/pusher.js b/src/api/pusher.js index 025d50d..c7b046f 100644 --- a/src/api/pusher.js +++ b/src/api/pusher.js @@ -8,4 +8,8 @@ export const ListPushers = (query) => { export const AddPusher = (opt)=>{ return pushers.post(opt) +} + +export const ListPusherOptions = ()=>{ + return pushers.get('options') } \ No newline at end of file diff --git a/src/constants/pusher.js b/src/constants/pusher.js index 24af822..7cebd69 100644 --- a/src/constants/pusher.js +++ b/src/constants/pusher.js @@ -1,10 +1,4 @@ export const PUSHER = { ANPUSHER: 1, + EMAIL:2 } - -export const WEBSITE_OPTIONS = [ - { - label: 'anPush', - value: PUSHER.ANPUSHER - } -] \ No newline at end of file diff --git a/src/views/Pusher/index.vue b/src/views/Pusher/index.vue index d0580c0..d84b9dd 100644 --- a/src/views/Pusher/index.vue +++ b/src/views/Pusher/index.vue @@ -13,10 +13,7 @@