1 line
2.3 KiB
Plaintext
1 line
2.3 KiB
Plaintext
|
{"version":3,"file":"afterSale.js","sources":["../../../../../../src/sheep/api/trade/afterSale.js"],"sourcesContent":["import request from '@/sheep/request'\r\n\r\nconst AfterSaleApi = {\r\n // 获得售后分页\r\n getAfterSalePage: (params) => {\r\n return request({\r\n url: `/trade/after-sale/page`,\r\n method: 'GET',\r\n params,\r\n custom: {\r\n showLoading: false,\r\n },\r\n })\r\n },\r\n // 创建售后\r\n createAfterSale: (data) => {\r\n return request({\r\n url: `/trade/after-sale/create`,\r\n method: 'POST',\r\n data,\r\n })\r\n },\r\n // 获得售后\r\n getAfterSale: (id) => {\r\n return request({\r\n url: `/trade/after-sale/get`,\r\n method: 'GET',\r\n params: {\r\n id,\r\n },\r\n })\r\n },\r\n // 取消售后\r\n cancelAfterSale: (id) => {\r\n return request({\r\n url: `/trade/after-sale/cancel`,\r\n method: 'DELETE',\r\n params: {\r\n id,\r\n },\r\n })\r\n },\r\n // 获得售后日志列表\r\n getAfterSaleLogList: (afterSaleId) => {\r\n return request({\r\n url: `/trade/after-sale-log/list`,\r\n method: 'GET',\r\n params: {\r\n afterSaleId,\r\n },\r\n })\r\n },\r\n // 退回货物\r\n deliveryAfterSale: (data) => {\r\n return request({\r\n url: `/trade/after-sale/delivery`,\r\n method: 'PUT',\r\n data,\r\n })\r\n },\r\n}\r\n\r\nexport default AfterSaleApi\r\n"],"names":["request"],"mappings":";;AAEK,MAAC,eAAe;AAAA;AAAA,EAEnB,kBAAkB,CAAC,WAAW;AAC5B,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR;AAAA,MACA,QAAQ;AAAA,QACN,aAAa;AAAA,MACd;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,iBAAiB,CAAC,SAAS;AACzB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR;AAAA,IACN,CAAK;AAAA,EACF;AAAA;AAAA,EAED,cAAc,CAAC,OAAO;AACpB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,QACN;AAAA,MACD;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,iBAAiB,CAAC,OAAO;AACvB,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,QACN;AAAA,MACD;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,qBAAqB,CAAC,gBAAgB;AACpC,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,QACN;AAAA,MACD;AAAA,IACP,CAAK;AAAA,EACF;AAAA;AAAA,EAED,mBAAmB,CAAC,SAAS;AAC3B,WAAOA,4BAAQ;AAAA,MACb,KAAK;AAAA,MACL,QAAQ;AAAA,MACR;AAAA,IACN,CAAK;AAAA,EACF;AACH;;"}
|