mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
fix: #1176
This commit is contained in:
@@ -23,10 +23,9 @@ func NewStatisticsHandler(router *router.RouterGroup[*core.RequestEvent], servic
|
||||
service: service,
|
||||
}
|
||||
|
||||
group := router.Group("/statistics")
|
||||
group.GET("/", handler.get)
|
||||
router.GET("/statistics", handler.get)
|
||||
|
||||
group.GET("/get", handler.get) // 兼容旧版
|
||||
router.GET("/statistics/get", handler.get) // 兼容旧版
|
||||
}
|
||||
|
||||
func (handler *StatisticsHandler) get(e *core.RequestEvent) error {
|
||||
|
||||
Reference in New Issue
Block a user