Browse Source

更改显示

liuyu 5 năm trước cách đây
mục cha
commit
403690975d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      app/controller/.tasks.js
  2. 1 1
      app/model/tasks.js

+ 1 - 1
app/controller/.tasks.js

@@ -10,7 +10,7 @@ module.exports = {
     parameters: {
     parameters: {
       params: ['!id']
       params: ['!id']
     },
     },
-    requestBody: ['!userid', 'name', 'createtime', 'type', 'content', 'status', 'errmsg']
+    requestBody: ['userid', 'name', 'createtime', 'type', 'content', 'status', 'errmsg']
   },
   },
   show: {
   show: {
     parameters: {
     parameters: {

+ 1 - 1
app/model/tasks.js

@@ -10,7 +10,7 @@ const TasksSchema = {
   type: { type: String, required: false, maxLength: 64 }, // 类别
   type: { type: String, required: false, maxLength: 64 }, // 类别
   content: { type: String, required: false, maxLength: 64 }, // 内容
   content: { type: String, required: false, maxLength: 64 }, // 内容
   status: { type: String, required: false, maxLength: 2 }, // 状态
   status: { type: String, required: false, maxLength: 2 }, // 状态
-  errmsg: { type: String, required: false, maxLength: 200 }, // 导入错误信息
+  errmsg: { type: String, required: false }, // 导入错误信息
 };
 };