wq 5 năm trước cách đây
mục cha
commit
47bf2edb3f
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 3 1
      app/controller/.financeclaims.js
  2. 1 0
      app/model/tfinanceclaims.js

+ 3 - 1
app/controller/.financeclaims.js

@@ -18,6 +18,7 @@ module.exports = {
         'status',
         'news',
         'video',
+        'videoimg',
       ]
     },
     destroy: {
@@ -43,7 +44,8 @@ module.exports = {
         '!cattribute',
         'status',
         'video',
-        'news'
+        'news',
+        'videoimg',
       ]
     },
     show: {

+ 1 - 0
app/model/tfinanceclaims.js

@@ -28,6 +28,7 @@ const TfinanceClaimsSchema = {
   uid: { type: String, required: true, maxLength: 200 }, //机构用户id
   status: { type: String,maxLength: 200,default:'0'}, // 状态,0-未发布,1-发布,2-下架
   video: {type: String, required: false,default:'0'}, // 视频附件
+  videoimg: {type: String, required: false,default:'0'}, // 视频图片
   news: { type: [ newsInfo ], select: true }, // 产品简介
   cattribute:{type: [String], select: true },//产品属性
 };