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.
27 lines
766 B
27 lines
766 B
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 categoryInfo = (data) => { |
|
return get('nakadai/category/categoryInfo', data) |
|
} |
|
export const list = (data) => { |
|
return get('nakadai/prod/list', data) |
|
} |