|
@@ -20,6 +20,7 @@ func InitRouter() *gin.Engine {
|
|
|
{
|
|
|
pubV1.GET("/ping", apiv1.Ping)
|
|
|
pubV1.GET("software_info", apiv1.SoftwareInfo)
|
|
|
+ pubV1.Static("Image", "../Image")
|
|
|
pubV1.POST("login", apiv1.Login)
|
|
|
}
|
|
|
authV1 := v1.Group("/auth")
|
|
@@ -35,6 +36,7 @@ func InitRouter() *gin.Engine {
|
|
|
protocolV1.GET("patient_type", apiv1.GetPatientType)
|
|
|
protocolV1.GET("body_part", apiv1.GetBodyPart)
|
|
|
protocolV1.GET("procedure", apiv1.GetProcedure)
|
|
|
+ protocolV1.GET("view", apiv1.GetView)
|
|
|
}
|
|
|
dicomV1 := authV1.Group("/dicom")
|
|
|
{
|