feat: 代码优化、机器计划任务完善

This commit is contained in:
meilin.huang
2023-07-21 17:07:04 +08:00
parent 7b51705f4e
commit 7f9e972828
56 changed files with 376 additions and 235 deletions

View File

@@ -3,7 +3,7 @@ package biz
import (
"fmt"
"mayfly-go/pkg/global"
"mayfly-go/pkg/utils"
"mayfly-go/pkg/utils/anyx"
"reflect"
)
@@ -56,7 +56,7 @@ func NotNil(data any, msg string, params ...any) {
}
func NotBlank(data any, msg string, params ...any) {
if utils.IsBlank(data) {
if anyx.IsBlank(data) {
panic(NewBizErr(fmt.Sprintf(msg, params...)))
}
}