'use strict';

import { ApiTable, basicAction } from '$utils'

export function getPush () {       //获取推送配置列表
   return dispatch => basicAction({
      type: 'get',
      dispatch: dispatch,
      actionType: 'GET_PUSH',
      url: `${ApiTable.getPush}`,
      msg: { error: '获取推送配置列表失败' },
      reducer: { name: '' }
   });
}
