acdr-ui/dist/dev/mp-weixin/sheep/api/product/spu.js.map

1 line
1.6 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"spu.js","sources":["../../../../../../src/sheep/api/product/spu.js"],"sourcesContent":["import request from '@/sheep/request'\r\n\r\nconst SpuApi = {\r\n // 获得商品 SPU 列表\r\n getSpuListByIds: (ids) => {\r\n return request({\r\n url: '/product/spu/list-by-ids',\r\n method: 'GET',\r\n params: { ids },\r\n custom: {\r\n showLoading: false,\r\n showError: false,\r\n },\r\n })\r\n },\r\n // 获得商品 SPU 分页\r\n getSpuPage: (params) => {\r\n return request({\r\n url: '/product/spu/page',\r\n method: 'GET',\r\n params,\r\n custom: {\r\n showLoading: false,\r\n showError: false,\r\n },\r\n })\r\n },\r\n // 查询商品\r\n getSpuDetail: (id) => {\r\n return request({\r\n url: '/product/spu/get-detail',\r\n method: 'GET',\r\n params: { id },\r\n custom: {\r\n showLoading: false,\r\n showError: false,\r\n },\r\n })\r\n },\r\n}\r\nexport default SpuApi\r\n"],"names":["request"],"mappings":";;AAEK,MAAC,SAAS;AAAA;AAAA,EAEb,iBAAiB,CAAC,QAAQ;AACxB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ,EAAE,IAAK;AAAA,MACf,QAAQ;AAAA,QACN,aAAa;AAAA,QACb,WAAW;AAAA,MACZ;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,YAAY,CAAC,WAAW;AACtB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR;AAAA,MACA,QAAQ;AAAA,QACN,aAAa;AAAA,QACb,WAAW;AAAA,MACZ;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,cAAc,CAAC,OAAO;AACpB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ,EAAE,GAAI;AAAA,MACd,QAAQ;AAAA,QACN,aAAa;AAAA,QACb,WAAW;AAAA,MACZ;AAAA,IACP,CAAK;AAAA,EACF;AACH;;"}