From 7d80e09e44d2707623eb21f218c22280523d1721 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 16 Oct 2024 17:40:24 +0800 Subject: [PATCH] 1 --- app/mix/controller/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 8af99038..220d3a96 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -298,8 +298,8 @@ func Init(r *gin.Engine) { // 瑞文智商测试访问表 apiRavenIQTestVisitGroup := r.Group("/api/Raven_IQ_test_visit", PrepareToC()) - apiRavenIQTestVisitGroup.POST("create", middleware.JSONParamValidator(Raven_IQ_test_visitproto.OpCreateReq{}), ApiCreateRavenIQTestVisit) - apiRavenIQTestVisitGroup.POST("count", middleware.JSONParamValidator(Raven_IQ_test_visitproto.OpCountReq{}), ApiGetRavenIQTestVisitCount) + apiRavenIQTestVisitGroup.POST("create", middleware.JSONParamValidator(Raven_IQ_test_visitproto.ApiCreateReq{}), ApiCreateRavenIQTestVisit) + apiRavenIQTestVisitGroup.POST("count", middleware.JSONParamValidator(Raven_IQ_test_visitproto.ApiCountReq{}), ApiGetRavenIQTestVisitCount) // =============================== 以下是服务,只允许内网调用 ===============================