调用云函数
调用云函数
exports.main = function helloWorld(event, callback) {
console.log(event)
callback(null, `hello ${event.data.name}`)
}BaaS.invoke(name: "helloWorld", data: ["name": "BaaS"], sync: true) { (result, error) in
}[BaaS invokeWithName:"helloWorld" data:@{@"name": @"BaaS"} sync:YES completion:^(NSDictionary * _Nullable result, NSError * _Nullable error) {
}];参数
类型
必填
说每个
参数
类型
描述
Last updated
Was this helpful?
