-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 操作记录列表新增其他模块 #111
base: master
Are you sure you want to change the base?
feat: 操作记录列表新增其他模块 #111
Conversation
af46079
to
a359313
Compare
internal/dal/dao/audit.go
Outdated
// DecoratorV2 return audit decorator for to record audit. | ||
func (au *audit) DecoratorV3(kit *kit.Kit, bizID uint32, a *table.AuditField) AuditPrepare { | ||
return initAuditBuilderV3(kit, bizID, a, au) | ||
// DecoratorV3 return audit decorator for to record audit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
和函数名保持一致:Decorator
internal/dal/dao/audit.go
Outdated
@@ -220,13 +213,16 @@ func (au *audit) createQuery(kit *kit.Kit, req *pbds.ListAuditsReq) (gen.IAuditD | |||
} | |||
|
|||
// 仅看上线操作 | |||
if req.Operate == string(enumor.PublishReleaseConfig) { | |||
if req.Operate == string(enumor.Publish) { | |||
result = result.Where(audit.Action.Eq(req.Operate)) | |||
} | |||
|
|||
// 仅看失败操作 | |||
if req.Operate == string(enumor.Failure) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Operator 还有 Failure 这个操作吗
internal/dal/dao/publish.go
Outdated
// Publish publish an app's release with its strategy. | ||
// once an app's strategy along with its release id is published, | ||
// all its released config items are effected immediately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不需要的话注释一起删了
b12809f
to
e175325
Compare
feat: 操作记录列表新增其他模块