运行日志显示未读的日志数量

This commit is contained in:
GoEdgeLab
2021-10-15 12:54:23 +08:00
parent 56e6ba083b
commit 8043362e53
14 changed files with 161 additions and 23 deletions

View File

@@ -12,7 +12,8 @@ func NewClustersHelper() *ClustersHelper {
return &ClustersHelper{}
}
func (this *ClustersHelper) BeforeAction(action *actions.ActionObject) {
func (this *ClustersHelper) BeforeAction(actionPtr actions.ActionWrapper) {
var action = actionPtr.Object()
if action.Request.Method != http.MethodGet {
return
}