|
@@ -55,7 +55,7 @@ const goods = new Schema({
|
|
|
companyweb: { type: String, required: false, maxLength: 2000 },
|
|
|
condition: { type: String, required: false, maxLength: 300 },
|
|
|
|
|
|
- image: { type: [images], select: true },
|
|
|
+ image: { type: [ images ], select: true },
|
|
|
|
|
|
messattribute: { type: String, required: false, maxLength: 200 },
|
|
|
demand: { type: String, required: false, maxLength: 200 },
|
|
@@ -63,7 +63,7 @@ const goods = new Schema({
|
|
|
coreelements: { type: String, required: false, maxLength: 200 },
|
|
|
priceinfo: { type: String, required: false, maxLength: 200 },
|
|
|
businessexpect: { type: String, required: false, maxLength: 200 },
|
|
|
- dockStatus: { type: String, default: "0", maxLength: 5 },
|
|
|
+ dockStatus: { type: String, default: '0', maxLength: 5 },
|
|
|
});
|
|
|
goods.index({ id: 1 });
|
|
|
|
|
@@ -102,8 +102,8 @@ const Dock = {
|
|
|
province: { type: String, required: false },
|
|
|
place: { type: String, required: false },
|
|
|
file_path: { type: String, required: false },
|
|
|
- videointro: { type: String, required: false, maxLength: 200 },
|
|
|
- videointroinfo: { type: String, required: false, maxLength: 200 },
|
|
|
+ videointro: { type: String, required: false, maxLength: 200 },
|
|
|
+ videointroinfo: { type: String, required: false, maxLength: 200 },
|
|
|
adminuser: { type: String, required: false, maxLength: 200 },
|
|
|
phone: { type: String, required: false, maxLength: 200 },
|
|
|
vipuser: { type: [ vipuser ], default: [] },
|