赞
踩
1. 小程序云开发,让前端程序员拥有后端的能力
2. 云函数 (nodejs)
3. 云数据库 (mogodb)
4. 云存储
5. 前端写好云函数 -> 上传到云服务器 ->实现自定云部署
6. 前端去调用云函数=>间接通过云函数对数据库的操作
7. 前端=》全栈
初始化 var db = cloud.database();
获取 var data = await db.collection("feedback").get()
添加 var data = await db.collection("feedback").add(data:{添加数据})
请求地址
POST https://api.weixin.qq.com/tcb/databasemigrateimport?access_token=ACCESS_TOKEN
详细说明看 https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseMigrateImport.html
请求地址
POST https://api.weixin.qq.com/tcb/databasemigrateexport?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseMigrateExport.html
请求地址
POST https://api.weixin.qq.com/tcb/databasemigratequeryinfo?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseMigrateQueryInfo.html
请求地址
POST https://api.weixin.qq.com/tcb/updateindex?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/updateIndex.html
请求地址
POST https://api.weixin.qq.com/tcb/databasecollectionadd?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseCollectionAdd.html
请求地址
POST https://api.weixin.qq.com/tcb/databasecollectiondelete?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseCollectionDelete.html
请求地址
https://api.weixin.qq.com/tcb/databasecollectionget?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseCollectionGet.html
请求地址
POST https://api.weixin.qq.com/tcb/databaseadd?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseAdd.html
请求地址
POST https://api.weixin.qq.com/tcb/databasedelete?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseDelete.html
请求地址
POST https://api.weixin.qq.com/tcb/databaseupdate?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseUpdate.html
请求地址
POST https://api.weixin.qq.com/tcb/databasequery?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseQuery.html
请求地址
https://api.weixin.qq.com/tcb/databasecollectionget?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseCollectionGet.html
请求地址
https://api.weixin.qq.com/tcb/databasecollectionget?access_token=ACCESS_TOKEN
详细说明看https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/database/databaseCollectionGet.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。