/**
 *  短信模块接口
 */
import request from '@/utils/request'
// 获取项目列表
export const getSmsLogsList = (params) => request.basic.get('/api/v1/sms_logs', params)
// 获取单挑数据
export const getItem = (id) => request.basic.get(`/api/v1/balances/${id}`)
// 添加条目
export const createProject = (params) => request.basic.post('/api/v1/balances', params)
// 更新role
export const updateItem = (id, params) => request.basic.put(`/api/v1/balances/${id}`, params)
// 删除数据
export const delItem = (id) => request.basic.delete(`/api/v1/balances/${id}`)

// 会员等级
export const sendLvMessage = (params) => request.basic.post('/api/v1/sms_logs/sms_lv', params)
// 活动通知
export const sendActivityMessage = (params) => request.basic.post('/api/v1/sms_logs/sms_activity', params)