import request from '@/utils/request'

const url = '/adminApi/config/'

//获取基本信息
export const getInfo = (data) => request(url + 'info', 'get', data, true)
// 提交基本信息
export const postInfo = (data) => request(url + 'info', 'post', data, true)

// 留言短信通知手机号(get获取post提交)
export const getSmsPhone = (data) => request(url + 'set_sms', 'get', data, true)
export const postSmsPhone = (data) => request(url + 'set_sms', 'post', data, true)