guhongwei 4 anni fa
parent
commit
6ba6215034
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/model/imgtxtdock.js

+ 1 - 0
app/model/imgtxtdock.js

@@ -3,6 +3,7 @@ const Schema = require('mongoose').Schema;
 const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
 
 const images = new Schema({
 const images = new Schema({
+  name: { type: String, required: true, maxLength: 500 }, // 图片名称
   url: { type: String, required: true, maxLength: 500 }, // 图片路径
   url: { type: String, required: true, maxLength: 500 }, // 图片路径
 });
 });
 // 展会信息表
 // 展会信息表