|
|
@@ -6527,6 +6527,8 @@ const (
|
|
|
GoShortDramaClient_ShortDramaGet_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaGet"
|
|
|
GoShortDramaClient_ShortDramaList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaList"
|
|
|
GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdateModifier"
|
|
|
+ GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdateReleaseRegions"
|
|
|
+ GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaFindIdsWithCopyright"
|
|
|
GoShortDramaClient_ShortDramaFindSchedulePublishList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaFindSchedulePublishList"
|
|
|
GoShortDramaClient_ShortDramaPublishSchedule_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaPublishSchedule"
|
|
|
GoShortDramaClient_ShortDramaLanguageList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaLanguageList"
|
|
|
@@ -6554,6 +6556,8 @@ type GoShortDramaClientClient interface {
|
|
|
ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error)
|
|
|
ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error)
|
|
|
ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
+ ShortDramaUpdateReleaseRegions(ctx context.Context, in *ShortDramaUpdateReleaseRegionsReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
+ ShortDramaFindIdsWithCopyright(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ShortDramaFindIdsWithCopyrightResp, error)
|
|
|
ShortDramaFindSchedulePublishList(ctx context.Context, in *FindSchedulePublishListReq, opts ...grpc.CallOption) (*FindSchedulePublishListResp, error)
|
|
|
ShortDramaPublishSchedule(ctx context.Context, in *PublishScheduleDramaReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
// ShortDramaLanguage
|
|
|
@@ -6643,6 +6647,26 @@ func (c *goShortDramaClientClient) ShortDramaUpdateModifier(ctx context.Context,
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *goShortDramaClientClient) ShortDramaUpdateReleaseRegions(ctx context.Context, in *ShortDramaUpdateReleaseRegionsReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(Empty)
|
|
|
+ err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *goShortDramaClientClient) ShortDramaFindIdsWithCopyright(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ShortDramaFindIdsWithCopyrightResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(ShortDramaFindIdsWithCopyrightResp)
|
|
|
+ err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *goShortDramaClientClient) ShortDramaFindSchedulePublishList(ctx context.Context, in *FindSchedulePublishListReq, opts ...grpc.CallOption) (*FindSchedulePublishListResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
out := new(FindSchedulePublishListResp)
|
|
|
@@ -6794,6 +6818,8 @@ type GoShortDramaClientServer interface {
|
|
|
ShortDramaGet(context.Context, *ShortDramaGetReq) (*ShortDramaVo, error)
|
|
|
ShortDramaList(context.Context, *ShortDramaListReq) (*ShortDramaListResp, error)
|
|
|
ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error)
|
|
|
+ ShortDramaUpdateReleaseRegions(context.Context, *ShortDramaUpdateReleaseRegionsReq) (*Empty, error)
|
|
|
+ ShortDramaFindIdsWithCopyright(context.Context, *Empty) (*ShortDramaFindIdsWithCopyrightResp, error)
|
|
|
ShortDramaFindSchedulePublishList(context.Context, *FindSchedulePublishListReq) (*FindSchedulePublishListResp, error)
|
|
|
ShortDramaPublishSchedule(context.Context, *PublishScheduleDramaReq) (*Empty, error)
|
|
|
// ShortDramaLanguage
|
|
|
@@ -6841,6 +6867,12 @@ func (UnimplementedGoShortDramaClientServer) ShortDramaList(context.Context, *Sh
|
|
|
func (UnimplementedGoShortDramaClientServer) ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdateModifier not implemented")
|
|
|
}
|
|
|
+func (UnimplementedGoShortDramaClientServer) ShortDramaUpdateReleaseRegions(context.Context, *ShortDramaUpdateReleaseRegionsReq) (*Empty, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdateReleaseRegions not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedGoShortDramaClientServer) ShortDramaFindIdsWithCopyright(context.Context, *Empty) (*ShortDramaFindIdsWithCopyrightResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ShortDramaFindIdsWithCopyright not implemented")
|
|
|
+}
|
|
|
func (UnimplementedGoShortDramaClientServer) ShortDramaFindSchedulePublishList(context.Context, *FindSchedulePublishListReq) (*FindSchedulePublishListResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShortDramaFindSchedulePublishList not implemented")
|
|
|
}
|
|
|
@@ -7012,6 +7044,42 @@ func _GoShortDramaClient_ShortDramaUpdateModifier_Handler(srv interface{}, ctx c
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _GoShortDramaClient_ShortDramaUpdateReleaseRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ShortDramaUpdateReleaseRegionsReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(GoShortDramaClientServer).ShortDramaUpdateReleaseRegions(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(GoShortDramaClientServer).ShortDramaUpdateReleaseRegions(ctx, req.(*ShortDramaUpdateReleaseRegionsReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _GoShortDramaClient_ShortDramaFindIdsWithCopyright_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(Empty)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(GoShortDramaClientServer).ShortDramaFindIdsWithCopyright(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(GoShortDramaClientServer).ShortDramaFindIdsWithCopyright(ctx, req.(*Empty))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _GoShortDramaClient_ShortDramaFindSchedulePublishList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(FindSchedulePublishListReq)
|
|
|
if err := dec(in); err != nil {
|
|
|
@@ -7295,6 +7363,14 @@ var GoShortDramaClient_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "ShortDramaUpdateModifier",
|
|
|
Handler: _GoShortDramaClient_ShortDramaUpdateModifier_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "ShortDramaUpdateReleaseRegions",
|
|
|
+ Handler: _GoShortDramaClient_ShortDramaUpdateReleaseRegions_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "ShortDramaFindIdsWithCopyright",
|
|
|
+ Handler: _GoShortDramaClient_ShortDramaFindIdsWithCopyright_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "ShortDramaFindSchedulePublishList",
|
|
|
Handler: _GoShortDramaClient_ShortDramaFindSchedulePublishList_Handler,
|