mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-10 09:50:25 +08:00
fix: 问题修复
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user