Skip to content

Commit c5068bf

Browse files
committed
删除FindSysDictionary的校验
1 parent 2a223fd commit c5068bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/api/v1/sys_dictionary.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ func UpdateSysDictionary(c *gin.Context) {
7979
func FindSysDictionary(c *gin.Context) {
8080
var dictionary model.SysDictionary
8181
_ = c.ShouldBindQuery(&dictionary)
82-
if err := utils.Verify(dictionary, utils.DictionaryVerify); err != nil {
83-
response.FailWithMessage(err.Error(), c)
84-
return
85-
}
8682
if err, sysDictionary := service.GetSysDictionary(dictionary.Type, dictionary.ID); err != nil {
8783
global.GVA_LOG.Error("查询失败!", zap.Any("err", err))
8884
response.FailWithMessage("查询失败", c)

0 commit comments

Comments
 (0)