删除旧文件生成

This commit is contained in:
TsMask
2023-08-25 15:50:56 +08:00
parent 52298e95be
commit 3ec3529f3c
2 changed files with 1 additions and 140 deletions

View File

@@ -41,7 +41,7 @@ func RequestBodyDecode(request ziface.IRequest, checker []string) (model.Body, e
if len(checker) > 0 {
for _, v := range checker {
if _, ok := body.Data[v]; !ok {
return body, errors.New("missing parameter of message body : " + v)
return body, errors.New("missing parameter body " + v)
}
}
}