From ab39ec00d4a20b619cbd5ae609772d650c8709e7 Mon Sep 17 00:00:00 2001 From: silenceper Date: Tue, 26 Nov 2019 13:53:08 +0800 Subject: [PATCH] fix tcb example --- tcb/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcb/README.md b/tcb/README.md index ac99c8e93..3fd307865 100644 --- a/tcb/README.md +++ b/tcb/README.md @@ -23,7 +23,7 @@ wcTcb := wc.GetTcb() ### 举例 #### 触发云函数 ```golang -res, err := wcTcb.UploadFile("test-6ku2s", "golang.png") +res, err := wcTcb.InvokeCloudFunction("test-xxxx", "add", `{"a":1,"b":2}`) if err != nil { panic(err) }