feat: 完善小组绩效与有效端统计并修复审查问题
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"kra/internal/server/handler"
|
||||
)
|
||||
|
||||
func RegisterBusinessPerformance(private *gin.RouterGroup, h *handler.BusinessPerformance) {
|
||||
private.GET("/sw/workbench/overview", h.Overview)
|
||||
private.GET("/sw/goals/mine", h.MyGoal)
|
||||
private.GET("/sw/groups", h.Teams)
|
||||
private.PUT("/sw/groups", h.SaveTeams)
|
||||
private.PUT("/sw/business/profile", h.Profile)
|
||||
private.GET("/sw/business/management", h.Management)
|
||||
private.GET("/sw/performance", h.Query)
|
||||
private.GET("/sw/performance/details", h.Details)
|
||||
private.GET("/sw/performance/export", h.Export)
|
||||
private.GET("/sw/goals", h.Goals)
|
||||
private.PUT("/sw/goals", h.SaveGoal)
|
||||
}
|
||||
@@ -20,6 +20,7 @@ func (r *Routes) RegisterRoutes(public, private *gin.RouterGroup, engine *gin.En
|
||||
return
|
||||
}
|
||||
registrations := []func(){
|
||||
func() { RegisterBusinessPerformance(private, r.handlers.BusinessPerformance) },
|
||||
func() { RegisterOtherSettings(private, r.handlers.OtherSettings) },
|
||||
func() {
|
||||
private.GET("/sw/rank/channel", r.handlers.Ranking.Channel)
|
||||
|
||||
Reference in New Issue
Block a user