签入签出

This commit is contained in:
duoaohui
2026-05-21 23:39:36 +08:00
parent fc20a97442
commit c9765c0f80

View File

@@ -47,10 +47,10 @@ func RegisterRoutes(
// 不走 JWT因为调用方是 media-server 而非用户
r.POST("/internal/meeting/recordings/failure", recordingCtrl.MediaServerFailureWebhook)
internalCloudLaw := r.Group("/internal/cloud-law")
{
internalCloudLaw.POST("/meetings", ctrl.CloudLawCreateMeeting)
internalCloudLaw.GET("/meetings/:code", ctrl.CloudLawGetMeeting)
internalCloudLaw.POST("/meetings/:code/end", ctrl.CloudLawEndMeeting)
registerCloudLawRoutes := func(group *gin.RouterGroup) {
group.POST("/meetings", ctrl.CloudLawCreateMeeting)
group.GET("/meetings/:code", ctrl.CloudLawGetMeeting)
group.POST("/meetings/:code/end", ctrl.CloudLawEndMeeting)
}
registerCloudLawRoutes(r.Group("/api/v1/cloud-law"))
}