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
402 B
24 lines
402 B
7 months ago
|
import request from '@/utils/requestUtil'
|
||
|
|
||
|
export function searchProductList(params) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: '/product/search',
|
||
|
params: params
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function fetchCategoryTreeList() {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: '/product/categoryTreeList'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function fetchProductDetail(id) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: '/product/detail/'+id
|
||
|
})
|
||
|
}
|