|
@@ -8,12 +8,17 @@ const configProp = {
|
|
pointPlan: { type: Array, zh: '积分计划' }, // 后续有待制作,目前全靠新写
|
|
pointPlan: { type: Array, zh: '积分计划' }, // 后续有待制作,目前全靠新写
|
|
autoCloseOrder: { type: Number, zh: '自动关闭订单时间' }, // <=0时不自动关闭
|
|
autoCloseOrder: { type: Number, zh: '自动关闭订单时间' }, // <=0时不自动关闭
|
|
};
|
|
};
|
|
|
|
+const bottom_menu = {
|
|
|
|
+ list: { type: Array, zh: '菜单列表' },
|
|
|
|
+ is_use: { type: String, zh: '是否使用' },
|
|
|
|
+};
|
|
// 系统设置
|
|
// 系统设置
|
|
const config = {
|
|
const config = {
|
|
title: { type: String, required: false, zh: '系统名称' }, //
|
|
title: { type: String, required: false, zh: '系统名称' }, //
|
|
config: { type: Object, required: false, zh: '设置' }, //
|
|
config: { type: Object, required: false, zh: '设置' }, //
|
|
agree: { type: String, required: false, zh: '用户协议' }, // 富文本
|
|
agree: { type: String, required: false, zh: '用户协议' }, // 富文本
|
|
bottom_title: { type: String, required: false, zh: '底部加载数据结束的文字提示' }, //
|
|
bottom_title: { type: String, required: false, zh: '底部加载数据结束的文字提示' }, //
|
|
|
|
+ bottom_menu: { type: Object, zh: '底部菜单' },
|
|
};
|
|
};
|
|
const schema = new Schema(config, { toJSON: { getters: true, virtuals: true } });
|
|
const schema = new Schema(config, { toJSON: { getters: true, virtuals: true } });
|
|
schema.index({ id: 1 });
|
|
schema.index({ id: 1 });
|