|
@@ -11,7 +11,7 @@ const configProp = {
|
|
|
const config = {
|
|
|
title: { type: String, required: false, zh: '系统名称' }, //
|
|
|
config: { type: Object, required: false, zh: '设置' }, //
|
|
|
- agreement: { type: String, required: false, zh: '用户协议' }, // 富文本
|
|
|
+ agree: { type: String, required: false, zh: '用户协议' }, // 富文本
|
|
|
};
|
|
|
const schema = new Schema(config, { toJSON: { getters: true, virtuals: true } });
|
|
|
schema.index({ id: 1 });
|