From 6cb9162831b900171f773507acfc4b34bcaab4ec Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 13 Sep 2023 15:55:05 +0800 Subject: [PATCH] feat: add uniCloud storage api --- pages.json | 15 +++- .../unicloud-call-function.uvue} | 0 .../unicloud-file-api/unicloud-file-api.uvue | 71 +++++++++++++++++++ .../unicloud-import-object.uvue} | 0 pages/tabBar/API.uvue | 8 ++- 5 files changed, 89 insertions(+), 5 deletions(-) rename pages/API/{call-function/call-function.uvue => unicloud-call-function/unicloud-call-function.uvue} (100%) create mode 100644 pages/API/unicloud-file-api/unicloud-file-api.uvue rename pages/API/{import-object/import-object.uvue => unicloud-import-object/unicloud-import-object.uvue} (100%) diff --git a/pages.json b/pages.json index 5f66449b..88a6fe54 100644 --- a/pages.json +++ b/pages.json @@ -667,13 +667,13 @@ } }, { - "path": "pages/API/call-function/call-function", + "path": "pages/API/unicloud-call-function/unicloud-call-function", "style": { "navigationBarTitleText": "" } }, { - "path": "pages/API/import-object/import-object", + "path": "pages/API/unicloud-import-object/unicloud-import-object", "style": { "navigationBarTitleText": "" } @@ -891,7 +891,16 @@ "navigationStyle": "custom" } } - ], + ,{ + "path" : "pages/API/unicloud-file-api/unicloud-file-api", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", diff --git a/pages/API/call-function/call-function.uvue b/pages/API/unicloud-call-function/unicloud-call-function.uvue similarity index 100% rename from pages/API/call-function/call-function.uvue rename to pages/API/unicloud-call-function/unicloud-call-function.uvue diff --git a/pages/API/unicloud-file-api/unicloud-file-api.uvue b/pages/API/unicloud-file-api/unicloud-file-api.uvue new file mode 100644 index 00000000..0eb73525 --- /dev/null +++ b/pages/API/unicloud-file-api/unicloud-file-api.uvue @@ -0,0 +1,71 @@ + + + + diff --git a/pages/API/import-object/import-object.uvue b/pages/API/unicloud-import-object/unicloud-import-object.uvue similarity index 100% rename from pages/API/import-object/import-object.uvue rename to pages/API/unicloud-import-object/unicloud-import-object.uvue diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index ebdfcaa7..dc16c6db 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -380,11 +380,15 @@ pages: [ { name: '云函数', - url: 'call-function', + url: 'unicloud-call-function', }, { name: '云对象', - url: 'import-object', + url: 'unicloud-import-object', + }, + { + name: '云存储', + url: 'unicloud-file-api', }, ] as Page[], }, -- GitLab