mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-30 19:36:34 +08:00
feat: 代码优化、机器计划任务完善
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"mayfly-go/pkg/biz"
|
||||
"mayfly-go/pkg/model"
|
||||
"mayfly-go/pkg/req"
|
||||
"mayfly-go/pkg/utils"
|
||||
"mayfly-go/pkg/utils/anyx"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -50,7 +50,7 @@ func (m *syslogAppImpl) SaveFromReq(req *req.Ctx) {
|
||||
}
|
||||
|
||||
reqParam := req.ReqParam
|
||||
if !utils.IsBlank(reqParam) {
|
||||
if !anyx.IsBlank(reqParam) {
|
||||
// 如果是字符串类型,则不使用json序列化
|
||||
if reqStr, ok := reqParam.(string); ok {
|
||||
syslog.ReqParam = reqStr
|
||||
|
||||
Reference in New Issue
Block a user