mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-03 13:16:35 +08:00
refactor: 机器计划任务与流程定义关联至标签
This commit is contained in:
@@ -17,7 +17,6 @@ type Redis struct {
|
||||
Db string `orm:"column(database)" json:"db"`
|
||||
SshTunnelMachineId int `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
|
||||
Remark string
|
||||
FlowProcdefKey *string `json:"flowProcdefKey"` // 审批流-流程定义key(有值则说明关键操作需要进行审批执行),使用指针为了方便更新空字符串(取消流程审批)
|
||||
}
|
||||
|
||||
// ToRedisInfo 转换为redisInfo进行连接
|
||||
@@ -27,6 +26,6 @@ func (r *Redis) ToRedisInfo(db int, authCert *tagentity.ResourceAuthCert, tagPat
|
||||
redisInfo.Username = authCert.Username
|
||||
redisInfo.Password = authCert.Ciphertext
|
||||
redisInfo.Db = db
|
||||
redisInfo.TagPath = tagPath
|
||||
redisInfo.CodePath = tagPath
|
||||
return redisInfo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user