diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 0bf30fae..7d7166f5 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -145,15 +145,15 @@ func Init(r *gin.Engine) { apiContactCustomerServiceSessionGroup.POST("list_by_mid", middleware.JSONParamValidator(contact_customer_service_sessionproto.ApiListByMidReq{}), ApiGetContactCustomerServiceSessionListByMid) // 主播标签 - apiStreamerTagGroup := r.Group("/api/streamer_tag", PrepareOp()) + apiStreamerTagGroup := r.Group("/api/streamer_tag", PrepareToC()) apiStreamerTagGroup.POST("list", middleware.JSONParamValidator(base.BaseRequest{}), middleware.JwtAuthenticator(), OpGetStreamerTagList) // 平台icon - apiPlatformGroup := r.Group("/api/platform", PrepareOp()) + apiPlatformGroup := r.Group("/api/platform", PrepareToC()) apiPlatformGroup.POST("list", middleware.JSONParamValidator(base.BaseRequest{}), middleware.JwtAuthenticator(), OpGetPlatformList) // 运营微信 - apiSupportWxIdGroup := r.Group("/api/support_wx_id", PrepareOp()) + apiSupportWxIdGroup := r.Group("/api/support_wx_id", PrepareToC()) apiSupportWxIdGroup.POST("list", middleware.JSONParamValidator(base.BaseRequest{}), middleware.JwtAuthenticator(), OpGetSupportWxIdList) // 是否有新版本