fix: 问题修复

This commit is contained in:
meilin.huang
2023-01-19 19:45:12 +08:00
parent 594ca43505
commit 9f43f731b5
9 changed files with 213 additions and 199 deletions

View File

@@ -56,7 +56,7 @@ func NotNil(data interface{}, msg string) {
}
func NotBlank(data interface{}, msg string) {
if utils.IsBlank(reflect.ValueOf(data)) {
if utils.IsBlank(data) {
panic(NewBizErr(msg))
}
}