fuliqi
2024-01-24 29c1e7eb5ac16e90d8991a86c1c071bc312ec8d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import service from '../service'
 
// 属性管理
export class ProductPropMetaApi {
    getList= (params, showLoading = true) => {
      return service.get('/awl-product-service/productPropMeta/listByPage', { params, showLoading })
    }
 
    updateInfo = (params) => {
      return service.post('/awl-product-service/productPropMeta/update', params)
    }
 
    addInfo = (params) => {
      return service.post('/awl-product-service/productPropMeta/save', params)
    }
 
    getInfo = (params) => {
      return service.get('/awl-product-service/productPropMeta/findById', { params, showLoading: true })
    }
 
    getValueCheckTypes=(params) => {
      return service.get('/awl-product-service/productPropMeta/getValueCheckTypes', { params })
    }
 
    /**
     * 获取分类属性列表
     * @param {*} params
     */
    getCategoryPropList = (params) => {
      return service.get('/awl-product-service/saveProp/listByPage', { params })
    }
 
    deleteItem = (params) => {
      return service.post('/awl-product-service/productPropMeta/deleteById', params)
    }
}
export default new ProductPropMetaApi()