swm.js 537 Bytes
Newer Older
闫泽浩 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import Api from "~/service/Api"

export function queryByPage(data) {
    return Api.post("/service/swm/queryByPage", data)
}

export function queryById(data) {
    return Api.post(`/service/swm/queryById`,data)
}

export function add(data) {
    return Api.post("/service/swm/add", data)
}

export function edit(data) {
    return Api.post("/service/swm/edit", data)
}

export function deleteById(data) {
    return Api.post(`/service/swm/deleteById`,data)
}
export function count(data) {
    return Api.post(`/service/swm/count`,data)
}