소스 검색

更改显示

liuyu 5 년 전
부모
커밋
403690975d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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: {
       params: ['!id']
     },
-    requestBody: ['!userid', 'name', 'createtime', 'type', 'content', 'status', 'errmsg']
+    requestBody: ['userid', 'name', 'createtime', 'type', 'content', 'status', 'errmsg']
   },
   show: {
     parameters: {

+ 1 - 1
app/model/tasks.js

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