{
"bsonType": "object",
"required": [],
"permission": {
"read": false,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID,系统自动生成"
},
"google_secret":{
"bsonType": "string",
"title": "验证密钥"
},
"google_otpauth_url":{
"bsonType": "string",
"title": "验证器二维码"
},
"merchant_account":{
"bsonType": "string",
"title": "商户账号",
},
"merchant_password":{
"bsonType": "string",
"title": "商户密码",
},
"merchant_code":{
"bsonType": "string",
"title": "商户账户",
},
}
}
hhyang
- 发布:2022-12-31 16:16
- 更新:2023-01-03 10:34
- 阅读:188
2 个回复
呆狗的一生 - 呆狗的一生
点击schema2code 后,可以选择字段,你这里的
google_secret
字段就不要勾选了。然后在detail.vue
页面的unicloud-db组件中手动添加google_secret
字段。代码及图片示例如下(以book表为例):DCloud_uniAD_HDX
目前暂不支持,可以手动勾选多次生成覆盖,已记录此需求