diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index eaa77afc..47065c39 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -251,9 +251,9 @@ func Init(r *gin.Engine) { apiZoneGroup.POST("refund_page", middleware.JSONParamValidator(vasproto.ZoneRefundPageReq{}), middleware.JwtAuthenticator(), ZoneRefundPage) apiZoneGroup.POST("refund", middleware.JSONParamValidator(vasproto.ZoneRefundReq{}), middleware.JwtAuthenticator(), ZoneRefund) apiZoneGroup.POST("refund_v2", middleware.JSONParamValidator(vasproto.ZoneRefundReq{}), middleware.JwtAuthenticator(), ZoneRefundV2) - apiZoneGroup.POST("refund_list", middleware.JSONParamValidator(vasproto.ZoneRefundReq{}), middleware.JwtAuthenticator(), ZoneRefundList) - apiZoneGroup.POST("refund_info", middleware.JSONParamValidator(vasproto.ZoneRefundReq{}), middleware.JwtAuthenticator(), ZoneRefundInfo) - apiZoneGroup.POST("refund_audit", middleware.JSONParamValidator(vasproto.ZoneRefundReq{}), middleware.JwtAuthenticator(), ZoneRefundAudit) + apiZoneGroup.POST("refund_list", middleware.JSONParamValidator(vasproto.ZoneRefundListReq{}), middleware.JwtAuthenticator(), ZoneRefundList) + apiZoneGroup.POST("refund_info", middleware.JSONParamValidator(vasproto.ZoneRefundInfoReq{}), middleware.JwtAuthenticator(), ZoneRefundInfo) + apiZoneGroup.POST("refund_audit", middleware.JSONParamValidator(vasproto.ZoneRefundAuditReq{}), middleware.JwtAuthenticator(), ZoneRefundAudit) apiZoneGroup.POST("member_list", middleware.JSONParamValidator(vasproto.GetZoneMemberListReq{}), middleware.JwtAuthenticator(), ZoneMemberList) apiZoneGroup.POST("member_list_v2", middleware.JSONParamValidator(vasproto.GetZoneMemberListV2Req{}), middleware.JwtAuthenticator(), ZoneMemberListV2) apiZoneGroup.POST("search_zone_member", middleware.JSONParamValidator(vasproto.SearchMemberReq{}), middleware.JwtAuthenticator(), SearchZoneMember)