|
@@ -55,7 +55,7 @@ const goods = new Schema({
|
|
|
companyweb: { type: String, required: false, maxLength: 2000 }, // 企业网站
|
|
|
condition: { type: String, required: false, maxLength: 300 }, // 合作条件及要求
|
|
|
// image: { type: [ String ], required: false, maxLength: 200 }, // 图片
|
|
|
- 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 }, // 0未审核,1已通过,2已拒绝
|
|
|
+ dockStatus: { type: String, default: '0', maxLength: 5 }, // 0未审核,1已通过,2已拒绝
|
|
|
});
|
|
|
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: [] }, // vip用户
|