摘要:
1 // 如果拷贝此内容切记去除注释 2 // 下面的配置文件中所有时间的单位都是秒 3 { 4 // 数据库中password字段是加密存储的,这里的passwordSecret即为加密密码所用的加密算法 5 // 通常情况下设定好passwordSecret之后不需要再进行修改 6 // 如果要 阅读全文
摘要:
1 'use strict'; 2 exports.main = async (event, context) => { 3 //JQL连接数据库 4 const db = uniCloud.databaseForJQL({ 5 event, 6 context 7 }) 8 9 //event为客 阅读全文
摘要:
1 // 云对象教程: https://uniapp.dcloud.net.cn/uniCloud/cloud-obj 2 // jsdoc语法提示教程:https://ask.dcloud.net.cn/docs/#//ask.dcloud.net.cn/article/129 3 module. 阅读全文
摘要:
1 // schema扩展相关文档请参阅:https://uniapp.dcloud.net.cn/uniCloud/jql-schema-ext.html 2 module.exports = { 3 trigger: { 4 // 写入JQL数据库的标准写法 5 // read触发器 6 bef 阅读全文
摘要:
1 { 2 "bsonType": "object", // 固定节点 3 "description": "表的描述", 4 "required": [], // 必填字段,比如name,age 5 "permission": { 6 "read": false, // 前端非admin的读取记录权 阅读全文