JavaScript
开发文档
云函数调用使用Bmob.Cloud.run方法,如调用云函数中的"test"方法,并传递name参数到服务器中的示例代码如下:
Bmob.Cloud.run('test', {"name":"tom"}, {success: function(result) {alert(result);},error: function(error) {}})
如果不需要传递参数,示例代码如下:
Bmob.Cloud.run('test', {}, {success: function(result) {alert(result);},error: function(error) {}})
Copyright © 2017 Bmob, Maintained by the Bmob Support.
搜索
请输入您要搜索的内容
Keyboard Shortcuts
| Keys | Action |
|---|---|
| ? | Open this help |
| ← | Previous page |
| → | Next page |
| s | Search |
[返回
旧版](https://docs.bmob.cn/data/Android/a_faststart/doc/index.html)
