You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
835 B
46 lines
835 B
import http from '../common/axios.js'
|
|
//通用接口
|
|
export default {
|
|
//获取地区属性结构列表
|
|
getAreaTree(data={}) {
|
|
let url = '/area/getAreaTree'
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//获取字典数据
|
|
getDictionary(data) {
|
|
let url = `/member/dictionary/type/${data}`
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//获取联系人列表
|
|
getContactList(data) {
|
|
let url = `/member/contact_list`
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//获取消息列表
|
|
getContactMessage(data) {
|
|
let url = `/member/contact_message`
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//发送站内信
|
|
sendMessage(data) {
|
|
let url = `/member/send_message`
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
|
|
|
|
}
|