diff --git a/util/resTemplate.js b/util/resTemplate.js index 6215c96..5fa2500 100644 --- a/util/resTemplate.js +++ b/util/resTemplate.js @@ -11,6 +11,7 @@ module.exports = { var content = !text ? '是无效字段':text; if(!selfData){ return { + code:300, msg:paramName+content } }else {