提交 c5068bf1 编写于 作者: m0_50812349's avatar m0_50812349

删除FindSysDictionary的校验

上级 2a223fdc
...@@ -79,10 +79,6 @@ func UpdateSysDictionary(c *gin.Context) { ...@@ -79,10 +79,6 @@ func UpdateSysDictionary(c *gin.Context) {
func FindSysDictionary(c *gin.Context) { func FindSysDictionary(c *gin.Context) {
var dictionary model.SysDictionary var dictionary model.SysDictionary
_ = c.ShouldBindQuery(&dictionary) _ = c.ShouldBindQuery(&dictionary)
if err := utils.Verify(dictionary, utils.DictionaryVerify); err != nil {
response.FailWithMessage(err.Error(), c)
return
}
if err, sysDictionary := service.GetSysDictionary(dictionary.Type, dictionary.ID); err != nil { if err, sysDictionary := service.GetSysDictionary(dictionary.Type, dictionary.ID); err != nil {
global.GVA_LOG.Error("查询失败!", zap.Any("err", err)) global.GVA_LOG.Error("查询失败!", zap.Any("err", err))
response.FailWithMessage("查询失败", c) response.FailWithMessage("查询失败", c)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册