mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: 精简base.repo与base.app等
This commit is contained in:
@@ -115,7 +115,7 @@ func (r *redisAppImpl) SaveRedis(ctx context.Context, param *SaveRedisParam) err
|
||||
Host: re.Host,
|
||||
SshTunnelMachineId: re.SshTunnelMachineId,
|
||||
}
|
||||
err := r.GetBy(oldRedis)
|
||||
err := r.GetByCond(oldRedis)
|
||||
|
||||
if re.Id == 0 {
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user