act.js 482 Bytes
Newer Older
1 2 3
import Api from "~/service/Api"

export function queryByPage(data) {
zhangliding committed
4
    return Api.post("/service/act/queryByPage", data)
5 6 7
}

export function queryDetailById(inr) {
zhangliding committed
8
    return Api.post(`/service/act/queryDetailById?inr=${inr}`)
9 10 11
}

export function add(data) {
zhangliding committed
12
    return Api.post("/service/act/add", data)
13 14 15
}

export function edit(data) {
zhangliding committed
16
    return Api.post("/service/act/edit", data)
17 18 19
}

export function deleteById(inr) {
zhangliding committed
20
    return Api.post(`/service/act/deleteById?inr=${inr}`)
21 22
}