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) // =============================== 以下是服务,只允许内网调用 ===============================