File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ classDiagram
392392<tr ><td ><code >functionRootPath</code ></td ><td >string</td ><td ></td ><td >创建或更新函数代码时默认推荐的本地目录方式。函数根目录(父目录绝对路径)。本地应按 cloudfunctions/< ; functionName> ; /index.js 布局,此参数传 cloudfunctions 目录的绝对路径(如 /abs/path/cloudfunctions),不要传到函数名子目录。SDK 会自动拼接函数名子目录,无需预先压缩 zip 或 base64 编码。</td ></tr >
393393<tr ><td ><code >force</code ></td ><td >boolean</td ><td ></td ><td >createFunction 时是否覆盖</td ></tr >
394394<tr ><td ><code >functionName</code ></td ><td >string</td ><td ></td ><td >函数名称。大多数 action 使用该字段作为统一目标</td ></tr >
395- <tr ><td ><code >zipFile</code ></td ><td >string</td ><td ></td ><td >代码包的 base64 编码</td ></tr >
395+ <tr ><td ><code >zipFile</code ></td ><td >string</td ><td ></td ><td >仅兼容特殊场景:预先准备好的代码包 base64 编码。普通 createFunction/updateFunctionCode 默认不要先压缩 zip,优先使用 functionRootPath。 </td ></tr >
396396<tr ><td ><code >handler</code ></td ><td >string</td ><td ></td ><td >函数入口</td ></tr >
397397<tr ><td ><code >timeout</code ></td ><td >number</td ><td ></td ><td >配置更新时的超时时间</td ></tr >
398398<tr ><td ><code >envVariables</code ></td ><td >object</td ><td ></td ><td >配置更新时要合并的环境变量</td ></tr >
You can’t perform that action at this time.
0 commit comments