feat:完善项目

This commit is contained in:
henry
2021-11-18 09:51:39 +08:00
parent 09cc956d42
commit bcceef741b
15 changed files with 196 additions and 58 deletions

View File

@ -43,7 +43,7 @@ func bind(req interface{}) ApiHandle {
}
if err != nil {
logger.ErrorF("Request URL【%s】Params Bind Error%v", c.Request.URL, err)
return errors.New("参数异常/缺失")
return errors.New("参数异常/缺失" + err.Error())
}
c.Set("params", utils.AnyToJSON(req))
return nil