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.
21 lines
555 B
21 lines
555 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmPortIndex(data) {
|
|
return axios.posts('/api/basedata/port/list',data)
|
|
}
|
|
// 创建
|
|
export function crmPortSave(data) {
|
|
return axios.posts('/api/basedata/port',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmPortRead(id) {
|
|
return axios.gets('/api/basedata/port/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmPortUpdate(id,data) {
|
|
return axios.puts('/api/basedata/port/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmPortDelete(data) {
|
|
return axios.posts('/api/basedata/port/delete',data)
|
|
}
|
|
|