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.
39 lines
687 B
39 lines
687 B
import request from '@/utils/request' |
|
|
|
export function add(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreCombination', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
export function edit(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreCombination', |
|
method: 'put', |
|
data |
|
}) |
|
} |
|
|
|
export function del(id) { |
|
return request({ |
|
url: '/bxg/api/yxStoreCombination/' + id, |
|
method: 'delete' |
|
}) |
|
} |
|
|
|
export function getCombinationInfo(id) { |
|
return request({ |
|
url: '/bxg/api/yxStoreCombination/info/' + id, |
|
method: 'get' |
|
}) |
|
} |
|
|
|
export function onsale(id, data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreCombination/onsale/' + id, |
|
method: 'post', |
|
data |
|
}) |
|
}
|
|
|