数据库插件

This commit is contained in:
robin
2022-06-01 06:42:50 +08:00
parent 3494cecb9d
commit 8150466cbd
7 changed files with 791 additions and 72 deletions
+9 -6
View File
@@ -1,8 +1,11 @@
module.exports = {
doc : "用户",
api : true,//是否需要生成api接口
model: {
uid: {type: "STRING", comment: '用户id'},
age: {type: "INTEGER", comment: '年龄', defaultValue: 0,},
}
doc: "用户",
api: true,//是否需要生成api接口
model: {
uid: {type: "STRING", comment: '用户id'},
age: {type: "INTEGER", comment: '年龄', defaultValue: 0},
age2: {type: "INTEGER", comment: '年龄', defaultValue: 0},
},
}