diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 8fb02f75..17feedb9 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -313,8 +313,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) // =============================== 以下是服务,只允许内网调用 ===============================