From 4f0201dab585e0a4210d73c6eb4521aa804069c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Wed, 13 Jul 2022 15:22:40 +0800 Subject: [PATCH] docs: update function url --- docs/uniCloud/http.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/uniCloud/http.md b/docs/uniCloud/http.md index 85ac32e3f..f76151948 100644 --- a/docs/uniCloud/http.md +++ b/docs/uniCloud/http.md @@ -182,6 +182,10 @@ exports.main = function(event) { } ``` +**关于path的说明** + +url化场景下,event.path表示以配置的url化路径为根路径的访问路径。以配置`/test`为云函数url化路径,访问`/test/a/b/c`时event.path为`/a/b/c` + ### 云函数的返回值@output -- GitLab