Add the dashboard monitor.

This commit is contained in:
zicla
2018-12-02 18:38:39 +08:00
parent 2d1a95594f
commit 927427f353
18 changed files with 169 additions and 34 deletions

View File

@ -132,6 +132,8 @@ func (this *AlienService) PreviewOrDownload(
}
//文件下载次数加一,为了加快访问速度,异步进行
go this.matterDao.TimesIncrement(uuid)
go SafeMethod(func() {
this.matterDao.TimesIncrement(uuid)
})
}