Newer
Older
smartKitchenFront / src / api / product / snCodeRuls.js
liuyangyingjie on 26 Oct 2022 838 bytes first commit
import { instance } from "../request/http";

// 新增
const S_add = (data) => {
    return instance.post(`/snInfo/fixed/add`,data)
}
// 删除
const S_delete = (data) => {
    return instance.post('/snInfo/fixed/delete',data)
}
// 批量删除
const S_batchDelete = (data) => {
    return instance.post(`/snInfo/fixed/batchDelete`,data)
}
// 列表
const S_listPage = (str ,data) => {
    return instance.post(`/snInfo/fixed/listPage?${str}`,data)
}
// 下拉列表
const S_list = (data) => {
    return instance.post(`/snInfo/fixed/list`,data)
}
// 导出
const S_listExport = (data) => {
    return instance.post(`/snInfo/fixed/listExport`,data)
}
// 标识详情
const S_detail = (data) => {
    return instance.post(`/snInfo/fixed/detail`,data)
}

export { S_detail , S_listExport ,S_listPage ,S_list,S_batchDelete ,S_delete ,S_add}