|
@@ -44,14 +44,13 @@ func main() {
|
|
{
|
|
{
|
|
examPrefix.POST("/tick", handler.Tick) // 考试开始
|
|
examPrefix.POST("/tick", handler.Tick) // 考试开始
|
|
go handler.ExamEndTicker() // 考试结束
|
|
go handler.ExamEndTicker() // 考试结束
|
|
- examPrefix.POST("/display", handler.Display) // 考试开始2
|
|
|
|
- //examPrefix.POST("/end", handler.End) // 考试结束2
|
|
|
|
- examPrefix.POST("/page", handler.Page) // 分页查询
|
|
|
|
- examPrefix.POST("/report", handler.Report) // pdf下载
|
|
|
|
|
|
+ examPrefix.POST("/display", handler.Display) // 云控展示线上评分
|
|
|
|
+ examPrefix.POST("/page", handler.Page) // 分页查询
|
|
|
|
+ examPrefix.POST("/report", handler.Report) // pdf下载
|
|
}
|
|
}
|
|
}
|
|
}
|
|
{
|
|
{
|
|
- monitorPrefix := router.Group("/web_server/monitor") // todo web_server已经改成score_server,后续修改
|
|
|
|
|
|
+ monitorPrefix := router.Group("/web_server/monitor") // todo web_server会改成score_server,后续修改
|
|
{
|
|
{
|
|
monitorPrefix.POST("/insert", handler.SaveDeviceMonitor)
|
|
monitorPrefix.POST("/insert", handler.SaveDeviceMonitor)
|
|
}
|
|
}
|