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.
24 lines
684 B
24 lines
684 B
11 months ago
|
import request from '@/apis/request.js'
|
||
|
const { get, post } = request
|
||
|
|
||
|
export const batchDelete = (data) => {
|
||
|
return post('nakadai/prod/batchDelete', data)
|
||
|
}
|
||
|
export const info = (data) => {
|
||
|
return get('nakadai/prod/info', data)
|
||
|
}
|
||
|
export const page = (data) => {
|
||
|
return get('nakadai/prod/page', data)
|
||
|
}
|
||
|
export const prodStatus = (prodId, prodStatus) => {
|
||
|
return post(`nakadai/prod/prodStatus?prodId=${prodId}&prodStatus=${prodStatus}`)
|
||
|
}
|
||
|
export const save = (data) => {
|
||
|
return post('nakadai/prod/save', data)
|
||
|
}
|
||
|
export const update = (data) => {
|
||
|
return post('nakadai/prod/update', data)
|
||
|
}
|
||
|
export const categoryList = (data) => {
|
||
|
return get('nakadai/category/list', data)
|
||
|
}
|