From 0930be1618974e5b77b28ac6e8aca0ab2b13a4c8 Mon Sep 17 00:00:00 2001 From: ldh Date: Mon, 9 Jan 2023 21:19:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BC=95=E5=85=A5luch-request,?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2libs=E4=B8=AD=E7=9A=84request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- package.json | 1 + .../s-select-groupon-sku.vue | 10 +- sheep/libs/luch-request/adapters/index.js | 101 ------- .../luch-request/core/InterceptorManager.js | 50 ---- sheep/libs/luch-request/core/Request.js | 198 ------------- sheep/libs/luch-request/core/buildFullPath.js | 20 -- sheep/libs/luch-request/core/defaults.js | 29 -- .../libs/luch-request/core/dispatchRequest.js | 3 - sheep/libs/luch-request/core/mergeConfig.js | 103 ------- sheep/libs/luch-request/core/settle.js | 16 -- sheep/libs/luch-request/helpers/buildURL.js | 69 ----- .../libs/luch-request/helpers/combineURLs.js | 14 - .../luch-request/helpers/isAbsoluteURL.js | 14 - sheep/libs/luch-request/index.d.ts | 116 -------- sheep/libs/luch-request/index.js | 3 - sheep/libs/luch-request/utils.js | 131 --------- sheep/libs/luch-request/utils/clone.js | 260 ------------------ sheep/request/index.js | 2 +- 19 files changed, 9 insertions(+), 1134 deletions(-) delete mode 100644 sheep/libs/luch-request/adapters/index.js delete mode 100644 sheep/libs/luch-request/core/InterceptorManager.js delete mode 100644 sheep/libs/luch-request/core/Request.js delete mode 100644 sheep/libs/luch-request/core/buildFullPath.js delete mode 100644 sheep/libs/luch-request/core/defaults.js delete mode 100644 sheep/libs/luch-request/core/dispatchRequest.js delete mode 100644 sheep/libs/luch-request/core/mergeConfig.js delete mode 100644 sheep/libs/luch-request/core/settle.js delete mode 100644 sheep/libs/luch-request/helpers/buildURL.js delete mode 100644 sheep/libs/luch-request/helpers/combineURLs.js delete mode 100644 sheep/libs/luch-request/helpers/isAbsoluteURL.js delete mode 100644 sheep/libs/luch-request/index.d.ts delete mode 100644 sheep/libs/luch-request/index.js delete mode 100644 sheep/libs/luch-request/utils.js delete mode 100644 sheep/libs/luch-request/utils/clone.js diff --git a/.gitignore b/.gitignore index 0402c0df..c2c17003 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ deploy.sh /.vscode/ **/.DS_Store .env -yarn.lock \ No newline at end of file +yarn.lock +package-lock.json \ No newline at end of file diff --git a/package.json b/package.json index 4548e926..55d4d579 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "@hyoga/uni-socket.io": "^1.0.1", "dayjs": "^1.11.6", "lodash": "^4.17.21", + "luch-request": "^3.0.8", "pinia": "^2.0.24", "pinia-plugin-persist-uni": "^1.2.0", "qs-canvas": "^1.0.11", diff --git a/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue b/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue index 01d8c173..5cead77f 100644 --- a/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue +++ b/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue @@ -1,5 +1,5 @@