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.
32 lines
674 B
32 lines
674 B
import http from '../utils/http/index.js'
|
|
|
|
// 添加纸品
|
|
export function createProduct(data) {
|
|
return http.post({
|
|
url: '/base-paper-trading/create/product',
|
|
data
|
|
})
|
|
}
|
|
// 纸品种类列表
|
|
export function getCategoryList(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/product/category-list',
|
|
data
|
|
})
|
|
}
|
|
// 纸品详情
|
|
export function getSupplierDteail(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/product-detail/for/supplier',
|
|
data
|
|
})
|
|
}
|
|
// 店铺纸品列表(供应商端)
|
|
export function SupplierList(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/store/product-list/for/supplier',
|
|
data
|
|
})
|
|
}
|
|
|
|
|