import request from "@/utils/request";

export default {
    get: function (params) {
        return request({
            url: "/qdport-zcgx/template/page",
            method: "get",
            params
        })
    },

    add: function (data) {
        return request({
            url: "/qdport-zcgx/template/save",
            method: "post",
            data
        })
    },

    edit: function (data) {
        return request({
            url: "/qdport-zcgx/template/update",
            method: "post",
            data
        })
    },

    del: function (data) {
        return request({
            headers: {
                "Content-Type": "application/x-www-form-urlencoded"
            },
            url: "/qdport-zcgx/template/remove",
            method: "post",
            data
        })
    }
}