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

This commit is contained in:
刘祥超
2021-10-15 12:54:23 +08:00
parent 408de6af63
commit c7a8a40e22
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
}