diff --git a/pages.json b/pages.json index 1189d7b13e9016c615d29eefea1909984865fd4e..80581b856692a8f49e8597236df16975907e095e 100644 --- a/pages.json +++ b/pages.json @@ -61,7 +61,7 @@ "navigationStyle": "custom" } }, { - "path": "uni_modules/uni-feedback/pages/uni-feedback/add", + "path": "uni_modules/uni-feedback/pages/uni-feedback/uni-feedback", "style": { "navigationBarTitleText": "问题反馈" } diff --git a/pages/ucenter/ucenter.vue b/pages/ucenter/ucenter.vue index 79952f26ad36b9165bf1e0e69fd9699af74b80df..90369f4332ed747e167142d70a99ef8186516a5a 100644 --- a/pages/ucenter/ucenter.vue +++ b/pages/ucenter/ucenter.vue @@ -82,7 +82,7 @@ ], [{ "title": '问题与反馈', - "to": '/uni_modules/uni-feedback/pages/uni-feedback/add', + "to": '/uni_modules/uni-feedback/pages/uni-feedback/uni-feedback', "icon":"help" }, { "title": '设置', diff --git a/uni_modules/uni-feedback/pages/uni-feedback/add.vue b/uni_modules/uni-feedback/pages/uni-feedback/uni-feedback.vue similarity index 100% rename from uni_modules/uni-feedback/pages/uni-feedback/add.vue rename to uni_modules/uni-feedback/pages/uni-feedback/uni-feedback.vue diff --git a/uni_modules/uni-feedback/uniCloud/cloudfunctions/test2/index.js b/uni_modules/uni-feedback/uniCloud/cloudfunctions/test2/index.js new file mode 100644 index 0000000000000000000000000000000000000000..aad1aeaa2ee018b5713182dc0c1b43561cc8c084 --- /dev/null +++ b/uni_modules/uni-feedback/uniCloud/cloudfunctions/test2/index.js @@ -0,0 +1,8 @@ +'use strict'; +exports.main = async (event, context) => { + //event为客户端上传的参数 + console.log('event : ', event) + + //返回数据给客户端 + return event +};