From 562ff379b81374dbb47e1c147384b680b500594b Mon Sep 17 00:00:00 2001 From: Leufolium Date: Sun, 24 Dec 2023 15:53:20 +0800 Subject: [PATCH] by Robin at 20231224; PrepareToC --- app/mix/controller/init.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) // 是否有新版本