statistics_router.go 1.4 KB
package routers

import (
	"github.com/astaxie/beego"
	"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/controllers"
)

func init() {
	beego.Router("/statistics/system-task", &controllers.StatisticsController{}, "Post:SystemTaskStatistics")   // 系统任务统计
	beego.Router("/statistics/person-task", &controllers.StatisticsController{}, "Post:PersonTaskStatistics")   // 个人任务统计
	beego.Router("/statistics/person-su-money", &controllers.StatisticsController{}, "Post:PersonSuMoneyStatistics")  // 个人素币统计
	beego.Router("/statistics/person-notification", &controllers.StatisticsController{}, "Post:PersonNotificationStatistics")  // 个人通知统计
	beego.Router("/statistics/system-su-money", &controllers.StatisticsController{}, "Post:SystemSuMoneyStatistics") 	// 系统素币统计
	beego.Router("/statistics/system-cash", &controllers.StatisticsController{}, "Post:SystemCashStatistics")  	// 系统现金统计
	beego.Router("/statistics/employees-su-money", &controllers.StatisticsController{}, "Post:EmployeesSuMoneyStatistics")  // 员工财富值统计
	beego.Router("/statistics/employees-contributions", &controllers.StatisticsController{}, "Post:EmployeesContributionsStatistics")  // 员工贡献值统计
	beego.Router("/statistics/employees-ranking-list", &controllers.StatisticsController{}, "Post:RankingListStatistics")  // 员工财富值、贡献值排行榜
}