update: 更新pb

This commit is contained in:
cjy 2026-03-13 11:14:55 +08:00
parent 0ca94abf70
commit cd051d97bf
3 changed files with 5127 additions and 3441 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11027,6 +11027,8 @@ func (m *CreateWorkAnalysisReq) validate(all bool) error {
// no validation rules for BundleOrderUuid // no validation rules for BundleOrderUuid
// no validation rules for Date
if len(errors) > 0 { if len(errors) > 0 {
return CreateWorkAnalysisReqMultiError(errors) return CreateWorkAnalysisReqMultiError(errors)
} }
@ -11211,6 +11213,270 @@ var _ interface {
ErrorName() string ErrorName() string
} = CreateWorkAnalysisRespValidationError{} } = CreateWorkAnalysisRespValidationError{}
// Validate checks the field values on ImportWorkAnalysisReq with the rules
// defined in the proto definition for this message. If any rules are
// violated, the first error encountered is returned, or nil if there are no violations.
func (m *ImportWorkAnalysisReq) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on ImportWorkAnalysisReq with the rules
// defined in the proto definition for this message. If any rules are
// violated, the result is a list of violation errors wrapped in
// ImportWorkAnalysisReqMultiError, or nil if none found.
func (m *ImportWorkAnalysisReq) ValidateAll() error {
return m.validate(true)
}
func (m *ImportWorkAnalysisReq) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for Uuid
// no validation rules for SubNum
// no validation rules for ArtistName
// no validation rules for ArtistID
// no validation rules for ArtistPhone
// no validation rules for Analysis
// no validation rules for Title
// no validation rules for PdfUrl
// no validation rules for MediaAccountCount
// no validation rules for WorkVideoCount
// no validation rules for WorkImageCount
// no validation rules for Views
// no validation rules for Likes
// no validation rules for Comments
// no validation rules for Shares
// no validation rules for FansCount
// no validation rules for TopCities
// no validation rules for MostActiveDay
// no validation rules for BestPostTime
// no validation rules for PeriodTypeFans
// no validation rules for PeriodTypeViews
// no validation rules for PeriodTypeLikes
// no validation rules for PeriodTypeComments
// no validation rules for PeriodTypeShares
// no validation rules for BundleOrderUuid
// no validation rules for Date
// no validation rules for SubmitTime
// no validation rules for IsRefreshData
// no validation rules for ConfirmType
if len(errors) > 0 {
return ImportWorkAnalysisReqMultiError(errors)
}
return nil
}
// ImportWorkAnalysisReqMultiError is an error wrapping multiple validation
// errors returned by ImportWorkAnalysisReq.ValidateAll() if the designated
// constraints aren't met.
type ImportWorkAnalysisReqMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m ImportWorkAnalysisReqMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m ImportWorkAnalysisReqMultiError) AllErrors() []error { return m }
// ImportWorkAnalysisReqValidationError is the validation error returned by
// ImportWorkAnalysisReq.Validate if the designated constraints aren't met.
type ImportWorkAnalysisReqValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e ImportWorkAnalysisReqValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e ImportWorkAnalysisReqValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e ImportWorkAnalysisReqValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e ImportWorkAnalysisReqValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e ImportWorkAnalysisReqValidationError) ErrorName() string {
return "ImportWorkAnalysisReqValidationError"
}
// Error satisfies the builtin error interface
func (e ImportWorkAnalysisReqValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sImportWorkAnalysisReq.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = ImportWorkAnalysisReqValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = ImportWorkAnalysisReqValidationError{}
// Validate checks the field values on ImportWorkAnalysisResp with the rules
// defined in the proto definition for this message. If any rules are
// violated, the first error encountered is returned, or nil if there are no violations.
func (m *ImportWorkAnalysisResp) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on ImportWorkAnalysisResp with the rules
// defined in the proto definition for this message. If any rules are
// violated, the result is a list of violation errors wrapped in
// ImportWorkAnalysisRespMultiError, or nil if none found.
func (m *ImportWorkAnalysisResp) ValidateAll() error {
return m.validate(true)
}
func (m *ImportWorkAnalysisResp) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for Uuid
if len(errors) > 0 {
return ImportWorkAnalysisRespMultiError(errors)
}
return nil
}
// ImportWorkAnalysisRespMultiError is an error wrapping multiple validation
// errors returned by ImportWorkAnalysisResp.ValidateAll() if the designated
// constraints aren't met.
type ImportWorkAnalysisRespMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m ImportWorkAnalysisRespMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m ImportWorkAnalysisRespMultiError) AllErrors() []error { return m }
// ImportWorkAnalysisRespValidationError is the validation error returned by
// ImportWorkAnalysisResp.Validate if the designated constraints aren't met.
type ImportWorkAnalysisRespValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e ImportWorkAnalysisRespValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e ImportWorkAnalysisRespValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e ImportWorkAnalysisRespValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e ImportWorkAnalysisRespValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e ImportWorkAnalysisRespValidationError) ErrorName() string {
return "ImportWorkAnalysisRespValidationError"
}
// Error satisfies the builtin error interface
func (e ImportWorkAnalysisRespValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sImportWorkAnalysisResp.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = ImportWorkAnalysisRespValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = ImportWorkAnalysisRespValidationError{}
// Validate checks the field values on UpdateWorkAnalysisReq with the rules // Validate checks the field values on UpdateWorkAnalysisReq with the rules
// defined in the proto definition for this message. If any rules are // defined in the proto definition for this message. If any rules are
// violated, the first error encountered is returned, or nil if there are no violations. // violated, the first error encountered is returned, or nil if there are no violations.
@ -11277,6 +11543,8 @@ func (m *UpdateWorkAnalysisReq) validate(all bool) error {
// no validation rules for BundleOrderUuid // no validation rules for BundleOrderUuid
// no validation rules for Date
if len(errors) > 0 { if len(errors) > 0 {
return UpdateWorkAnalysisReqMultiError(errors) return UpdateWorkAnalysisReqMultiError(errors)
} }
@ -15245,6 +15513,8 @@ func (m *ArtistMetricsSeriesReq) validate(all bool) error {
// no validation rules for PeriodTypeShares // no validation rules for PeriodTypeShares
// no validation rules for Date
if len(errors) > 0 { if len(errors) > 0 {
return ArtistMetricsSeriesReqMultiError(errors) return ArtistMetricsSeriesReqMultiError(errors)
} }
@ -25751,6 +26021,440 @@ var _ interface {
ErrorName() string ErrorName() string
} = ListPublishLogRespValidationError{} } = ListPublishLogRespValidationError{}
// Validate checks the field values on GetArtistWorkStatsReq with the rules
// defined in the proto definition for this message. If any rules are
// violated, the first error encountered is returned, or nil if there are no violations.
func (m *GetArtistWorkStatsReq) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on GetArtistWorkStatsReq with the rules
// defined in the proto definition for this message. If any rules are
// violated, the result is a list of violation errors wrapped in
// GetArtistWorkStatsReqMultiError, or nil if none found.
func (m *GetArtistWorkStatsReq) ValidateAll() error {
return m.validate(true)
}
func (m *GetArtistWorkStatsReq) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for ArtistUuid
// no validation rules for StatusUpdateTime
if len(errors) > 0 {
return GetArtistWorkStatsReqMultiError(errors)
}
return nil
}
// GetArtistWorkStatsReqMultiError is an error wrapping multiple validation
// errors returned by GetArtistWorkStatsReq.ValidateAll() if the designated
// constraints aren't met.
type GetArtistWorkStatsReqMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m GetArtistWorkStatsReqMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m GetArtistWorkStatsReqMultiError) AllErrors() []error { return m }
// GetArtistWorkStatsReqValidationError is the validation error returned by
// GetArtistWorkStatsReq.Validate if the designated constraints aren't met.
type GetArtistWorkStatsReqValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e GetArtistWorkStatsReqValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e GetArtistWorkStatsReqValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e GetArtistWorkStatsReqValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e GetArtistWorkStatsReqValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e GetArtistWorkStatsReqValidationError) ErrorName() string {
return "GetArtistWorkStatsReqValidationError"
}
// Error satisfies the builtin error interface
func (e GetArtistWorkStatsReqValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sGetArtistWorkStatsReq.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = GetArtistWorkStatsReqValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = GetArtistWorkStatsReqValidationError{}
// Validate checks the field values on GetArtistWorkStatsResp with the rules
// defined in the proto definition for this message. If any rules are
// violated, the first error encountered is returned, or nil if there are no violations.
func (m *GetArtistWorkStatsResp) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on GetArtistWorkStatsResp with the rules
// defined in the proto definition for this message. If any rules are
// violated, the result is a list of violation errors wrapped in
// GetArtistWorkStatsRespMultiError, or nil if none found.
func (m *GetArtistWorkStatsResp) ValidateAll() error {
return m.validate(true)
}
func (m *GetArtistWorkStatsResp) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for VideoCount
// no validation rules for ImageCount
// no validation rules for AccountCount
if len(errors) > 0 {
return GetArtistWorkStatsRespMultiError(errors)
}
return nil
}
// GetArtistWorkStatsRespMultiError is an error wrapping multiple validation
// errors returned by GetArtistWorkStatsResp.ValidateAll() if the designated
// constraints aren't met.
type GetArtistWorkStatsRespMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m GetArtistWorkStatsRespMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m GetArtistWorkStatsRespMultiError) AllErrors() []error { return m }
// GetArtistWorkStatsRespValidationError is the validation error returned by
// GetArtistWorkStatsResp.Validate if the designated constraints aren't met.
type GetArtistWorkStatsRespValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e GetArtistWorkStatsRespValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e GetArtistWorkStatsRespValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e GetArtistWorkStatsRespValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e GetArtistWorkStatsRespValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e GetArtistWorkStatsRespValidationError) ErrorName() string {
return "GetArtistWorkStatsRespValidationError"
}
// Error satisfies the builtin error interface
func (e GetArtistWorkStatsRespValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sGetArtistWorkStatsResp.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = GetArtistWorkStatsRespValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = GetArtistWorkStatsRespValidationError{}
// Validate checks the field values on ImportCompetitiveReportHistoryReq with
// the rules defined in the proto definition for this message. If any rules
// are violated, the first error encountered is returned, or nil if there are
// no violations.
func (m *ImportCompetitiveReportHistoryReq) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on ImportCompetitiveReportHistoryReq
// with the rules defined in the proto definition for this message. If any
// rules are violated, the result is a list of violation errors wrapped in
// ImportCompetitiveReportHistoryReqMultiError, or nil if none found.
func (m *ImportCompetitiveReportHistoryReq) ValidateAll() error {
return m.validate(true)
}
func (m *ImportCompetitiveReportHistoryReq) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for ReportUuid
// no validation rules for SubmitTime
// no validation rules for Title
// no validation rules for ConfirmType
if len(errors) > 0 {
return ImportCompetitiveReportHistoryReqMultiError(errors)
}
return nil
}
// ImportCompetitiveReportHistoryReqMultiError is an error wrapping multiple
// validation errors returned by
// ImportCompetitiveReportHistoryReq.ValidateAll() if the designated
// constraints aren't met.
type ImportCompetitiveReportHistoryReqMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m ImportCompetitiveReportHistoryReqMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m ImportCompetitiveReportHistoryReqMultiError) AllErrors() []error { return m }
// ImportCompetitiveReportHistoryReqValidationError is the validation error
// returned by ImportCompetitiveReportHistoryReq.Validate if the designated
// constraints aren't met.
type ImportCompetitiveReportHistoryReqValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e ImportCompetitiveReportHistoryReqValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e ImportCompetitiveReportHistoryReqValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e ImportCompetitiveReportHistoryReqValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e ImportCompetitiveReportHistoryReqValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e ImportCompetitiveReportHistoryReqValidationError) ErrorName() string {
return "ImportCompetitiveReportHistoryReqValidationError"
}
// Error satisfies the builtin error interface
func (e ImportCompetitiveReportHistoryReqValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sImportCompetitiveReportHistoryReq.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = ImportCompetitiveReportHistoryReqValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = ImportCompetitiveReportHistoryReqValidationError{}
// Validate checks the field values on ImportCompetitiveReportHistoryResp with
// the rules defined in the proto definition for this message. If any rules
// are violated, the first error encountered is returned, or nil if there are
// no violations.
func (m *ImportCompetitiveReportHistoryResp) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on ImportCompetitiveReportHistoryResp
// with the rules defined in the proto definition for this message. If any
// rules are violated, the result is a list of violation errors wrapped in
// ImportCompetitiveReportHistoryRespMultiError, or nil if none found.
func (m *ImportCompetitiveReportHistoryResp) ValidateAll() error {
return m.validate(true)
}
func (m *ImportCompetitiveReportHistoryResp) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for ReportUuid
if len(errors) > 0 {
return ImportCompetitiveReportHistoryRespMultiError(errors)
}
return nil
}
// ImportCompetitiveReportHistoryRespMultiError is an error wrapping multiple
// validation errors returned by
// ImportCompetitiveReportHistoryResp.ValidateAll() if the designated
// constraints aren't met.
type ImportCompetitiveReportHistoryRespMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m ImportCompetitiveReportHistoryRespMultiError) Error() string {
var msgs []string
for _, err := range m {
msgs = append(msgs, err.Error())
}
return strings.Join(msgs, "; ")
}
// AllErrors returns a list of validation violation errors.
func (m ImportCompetitiveReportHistoryRespMultiError) AllErrors() []error { return m }
// ImportCompetitiveReportHistoryRespValidationError is the validation error
// returned by ImportCompetitiveReportHistoryResp.Validate if the designated
// constraints aren't met.
type ImportCompetitiveReportHistoryRespValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e ImportCompetitiveReportHistoryRespValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e ImportCompetitiveReportHistoryRespValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e ImportCompetitiveReportHistoryRespValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e ImportCompetitiveReportHistoryRespValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e ImportCompetitiveReportHistoryRespValidationError) ErrorName() string {
return "ImportCompetitiveReportHistoryRespValidationError"
}
// Error satisfies the builtin error interface
func (e ImportCompetitiveReportHistoryRespValidationError) Error() string {
cause := ""
if e.cause != nil {
cause = fmt.Sprintf(" | caused by: %v", e.cause)
}
key := ""
if e.key {
key = "key for "
}
return fmt.Sprintf(
"invalid %sImportCompetitiveReportHistoryResp.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = ImportCompetitiveReportHistoryRespValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = ImportCompetitiveReportHistoryRespValidationError{}
// Validate checks the field values on WorkListResp_Info with the rules defined // Validate checks the field values on WorkListResp_Info with the rules defined
// in the proto definition for this message. If any rules are violated, the // in the proto definition for this message. If any rules are violated, the
// first error encountered is returned, or nil if there are no violations. // first error encountered is returned, or nil if there are no violations.
@ -26297,6 +27001,8 @@ func (m *WorkListPublishedResp_Info) validate(all bool) error {
// no validation rules for SharesCount // no validation rules for SharesCount
// no validation rules for PublishTime
if len(errors) > 0 { if len(errors) > 0 {
return WorkListPublishedResp_InfoMultiError(errors) return WorkListPublishedResp_InfoMultiError(errors)
} }

View File

@ -85,6 +85,7 @@ type CastClient interface {
GetArtist(ctx context.Context, in *GetArtistReq, opts ...grpc_go.CallOption) (*GetArtistResp, common.ErrorWithAttachment) GetArtist(ctx context.Context, in *GetArtistReq, opts ...grpc_go.CallOption) (*GetArtistResp, common.ErrorWithAttachment)
// 作品分析相关接口 // 作品分析相关接口
CreateWorkAnalysis(ctx context.Context, in *CreateWorkAnalysisReq, opts ...grpc_go.CallOption) (*CreateWorkAnalysisResp, common.ErrorWithAttachment) CreateWorkAnalysis(ctx context.Context, in *CreateWorkAnalysisReq, opts ...grpc_go.CallOption) (*CreateWorkAnalysisResp, common.ErrorWithAttachment)
ImportWorkAnalysis(ctx context.Context, in *ImportWorkAnalysisReq, opts ...grpc_go.CallOption) (*ImportWorkAnalysisResp, common.ErrorWithAttachment)
UpdateWorkAnalysis(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) UpdateWorkAnalysis(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
UpdateWorkAnalysisStatus(ctx context.Context, in *UpdateWorkAnalysisStatusReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) UpdateWorkAnalysisStatus(ctx context.Context, in *UpdateWorkAnalysisStatusReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
GetWorkAnalysis(ctx context.Context, in *GetWorkAnalysisDetailReq, opts ...grpc_go.CallOption) (*GetWorkAnalysisDetailResp, common.ErrorWithAttachment) GetWorkAnalysis(ctx context.Context, in *GetWorkAnalysisDetailReq, opts ...grpc_go.CallOption) (*GetWorkAnalysisDetailResp, common.ErrorWithAttachment)
@ -92,6 +93,7 @@ type CastClient interface {
ListWorkAnalysis(ctx context.Context, in *ListWorkAnalysisReq, opts ...grpc_go.CallOption) (*ListWorkAnalysisResp, common.ErrorWithAttachment) ListWorkAnalysis(ctx context.Context, in *ListWorkAnalysisReq, opts ...grpc_go.CallOption) (*ListWorkAnalysisResp, common.ErrorWithAttachment)
DeleteWorkAnalysis(ctx context.Context, in *DeleteWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) DeleteWorkAnalysis(ctx context.Context, in *DeleteWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
UpdateWorkAnalysisApprovalID(ctx context.Context, in *UpdateWorkAnalysisApprovalIDReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) UpdateWorkAnalysisApprovalID(ctx context.Context, in *UpdateWorkAnalysisApprovalIDReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
UpdateWorkAnalysisPdfUrl(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
// 数据列表相关接口 // 数据列表相关接口
ArtistDataList(ctx context.Context, in *ArtistDataListReq, opts ...grpc_go.CallOption) (*ArtistDataListResp, common.ErrorWithAttachment) ArtistDataList(ctx context.Context, in *ArtistDataListReq, opts ...grpc_go.CallOption) (*ArtistDataListResp, common.ErrorWithAttachment)
MediaDataList(ctx context.Context, in *MediaDataListReq, opts ...grpc_go.CallOption) (*MediaDataListResp, common.ErrorWithAttachment) MediaDataList(ctx context.Context, in *MediaDataListReq, opts ...grpc_go.CallOption) (*MediaDataListResp, common.ErrorWithAttachment)
@ -136,8 +138,11 @@ type CastClient interface {
DeleteCompetitiveReport(ctx context.Context, in *DeleteCompetitiveReportReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) DeleteCompetitiveReport(ctx context.Context, in *DeleteCompetitiveReportReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
UpdateCompetitiveReportApprovalID(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) UpdateCompetitiveReportApprovalID(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
CountCompetitiveReportByWorkUuids(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq, opts ...grpc_go.CallOption) (*CountCompetitiveReportByWorkUuidsResp, common.ErrorWithAttachment) CountCompetitiveReportByWorkUuids(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq, opts ...grpc_go.CallOption) (*CountCompetitiveReportByWorkUuidsResp, common.ErrorWithAttachment)
ImportCompetitiveReportHistory(ctx context.Context, in *ImportCompetitiveReportHistoryReq, opts ...grpc_go.CallOption) (*ImportCompetitiveReportHistoryResp, common.ErrorWithAttachment)
// 发布记录相关接口 // 发布记录相关接口
ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment) ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment)
// 艺人作品统计快照接口
GetArtistWorkStats(ctx context.Context, in *GetArtistWorkStatsReq, opts ...grpc_go.CallOption) (*GetArtistWorkStatsResp, common.ErrorWithAttachment)
} }
type castClient struct { type castClient struct {
@ -197,6 +202,7 @@ type CastClientImpl struct {
UpdateArtist func(ctx context.Context, in *UpdateArtistReq) (*UpdateArtistResp, error) UpdateArtist func(ctx context.Context, in *UpdateArtistReq) (*UpdateArtistResp, error)
GetArtist func(ctx context.Context, in *GetArtistReq) (*GetArtistResp, error) GetArtist func(ctx context.Context, in *GetArtistReq) (*GetArtistResp, error)
CreateWorkAnalysis func(ctx context.Context, in *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error) CreateWorkAnalysis func(ctx context.Context, in *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error)
ImportWorkAnalysis func(ctx context.Context, in *ImportWorkAnalysisReq) (*ImportWorkAnalysisResp, error)
UpdateWorkAnalysis func(ctx context.Context, in *UpdateWorkAnalysisReq) (*emptypb.Empty, error) UpdateWorkAnalysis func(ctx context.Context, in *UpdateWorkAnalysisReq) (*emptypb.Empty, error)
UpdateWorkAnalysisStatus func(ctx context.Context, in *UpdateWorkAnalysisStatusReq) (*emptypb.Empty, error) UpdateWorkAnalysisStatus func(ctx context.Context, in *UpdateWorkAnalysisStatusReq) (*emptypb.Empty, error)
GetWorkAnalysis func(ctx context.Context, in *GetWorkAnalysisDetailReq) (*GetWorkAnalysisDetailResp, error) GetWorkAnalysis func(ctx context.Context, in *GetWorkAnalysisDetailReq) (*GetWorkAnalysisDetailResp, error)
@ -204,6 +210,7 @@ type CastClientImpl struct {
ListWorkAnalysis func(ctx context.Context, in *ListWorkAnalysisReq) (*ListWorkAnalysisResp, error) ListWorkAnalysis func(ctx context.Context, in *ListWorkAnalysisReq) (*ListWorkAnalysisResp, error)
DeleteWorkAnalysis func(ctx context.Context, in *DeleteWorkAnalysisReq) (*emptypb.Empty, error) DeleteWorkAnalysis func(ctx context.Context, in *DeleteWorkAnalysisReq) (*emptypb.Empty, error)
UpdateWorkAnalysisApprovalID func(ctx context.Context, in *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error) UpdateWorkAnalysisApprovalID func(ctx context.Context, in *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error)
UpdateWorkAnalysisPdfUrl func(ctx context.Context, in *UpdateWorkAnalysisReq) (*emptypb.Empty, error)
ArtistDataList func(ctx context.Context, in *ArtistDataListReq) (*ArtistDataListResp, error) ArtistDataList func(ctx context.Context, in *ArtistDataListReq) (*ArtistDataListResp, error)
MediaDataList func(ctx context.Context, in *MediaDataListReq) (*MediaDataListResp, error) MediaDataList func(ctx context.Context, in *MediaDataListReq) (*MediaDataListResp, error)
DataOverview func(ctx context.Context, in *DataOverviewReq) (*DataOverviewResp, error) DataOverview func(ctx context.Context, in *DataOverviewReq) (*DataOverviewResp, error)
@ -237,7 +244,9 @@ type CastClientImpl struct {
DeleteCompetitiveReport func(ctx context.Context, in *DeleteCompetitiveReportReq) (*emptypb.Empty, error) DeleteCompetitiveReport func(ctx context.Context, in *DeleteCompetitiveReportReq) (*emptypb.Empty, error)
UpdateCompetitiveReportApprovalID func(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error) UpdateCompetitiveReportApprovalID func(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error)
CountCompetitiveReportByWorkUuids func(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) CountCompetitiveReportByWorkUuids func(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error)
ImportCompetitiveReportHistory func(ctx context.Context, in *ImportCompetitiveReportHistoryReq) (*ImportCompetitiveReportHistoryResp, error)
ListPublishLog func(ctx context.Context, in *ListPublishLogReq) (*ListPublishLogResp, error) ListPublishLog func(ctx context.Context, in *ListPublishLogReq) (*ListPublishLogResp, error)
GetArtistWorkStats func(ctx context.Context, in *GetArtistWorkStatsReq) (*GetArtistWorkStatsResp, error)
} }
func (c *CastClientImpl) GetDubboStub(cc *triple.TripleConn) CastClient { func (c *CastClientImpl) GetDubboStub(cc *triple.TripleConn) CastClient {
@ -564,6 +573,12 @@ func (c *castClient) CreateWorkAnalysis(ctx context.Context, in *CreateWorkAnaly
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateWorkAnalysis", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateWorkAnalysis", in, out)
} }
func (c *castClient) ImportWorkAnalysis(ctx context.Context, in *ImportWorkAnalysisReq, opts ...grpc_go.CallOption) (*ImportWorkAnalysisResp, common.ErrorWithAttachment) {
out := new(ImportWorkAnalysisResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ImportWorkAnalysis", in, out)
}
func (c *castClient) UpdateWorkAnalysis(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) { func (c *castClient) UpdateWorkAnalysis(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
out := new(emptypb.Empty) out := new(emptypb.Empty)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
@ -606,6 +621,12 @@ func (c *castClient) UpdateWorkAnalysisApprovalID(ctx context.Context, in *Updat
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateWorkAnalysisApprovalID", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateWorkAnalysisApprovalID", in, out)
} }
func (c *castClient) UpdateWorkAnalysisPdfUrl(ctx context.Context, in *UpdateWorkAnalysisReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
out := new(emptypb.Empty)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateWorkAnalysisPdfUrl", in, out)
}
func (c *castClient) ArtistDataList(ctx context.Context, in *ArtistDataListReq, opts ...grpc_go.CallOption) (*ArtistDataListResp, common.ErrorWithAttachment) { func (c *castClient) ArtistDataList(ctx context.Context, in *ArtistDataListReq, opts ...grpc_go.CallOption) (*ArtistDataListResp, common.ErrorWithAttachment) {
out := new(ArtistDataListResp) out := new(ArtistDataListResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
@ -804,12 +825,24 @@ func (c *castClient) CountCompetitiveReportByWorkUuids(ctx context.Context, in *
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CountCompetitiveReportByWorkUuids", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CountCompetitiveReportByWorkUuids", in, out)
} }
func (c *castClient) ImportCompetitiveReportHistory(ctx context.Context, in *ImportCompetitiveReportHistoryReq, opts ...grpc_go.CallOption) (*ImportCompetitiveReportHistoryResp, common.ErrorWithAttachment) {
out := new(ImportCompetitiveReportHistoryResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ImportCompetitiveReportHistory", in, out)
}
func (c *castClient) ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment) { func (c *castClient) ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment) {
out := new(ListPublishLogResp) out := new(ListPublishLogResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListPublishLog", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListPublishLog", in, out)
} }
func (c *castClient) GetArtistWorkStats(ctx context.Context, in *GetArtistWorkStatsReq, opts ...grpc_go.CallOption) (*GetArtistWorkStatsResp, common.ErrorWithAttachment) {
out := new(GetArtistWorkStatsResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistWorkStats", in, out)
}
// CastServer is the server API for Cast service. // CastServer is the server API for Cast service.
// All implementations must embed UnimplementedCastServer // All implementations must embed UnimplementedCastServer
// for forward compatibility // for forward compatibility
@ -870,6 +903,7 @@ type CastServer interface {
GetArtist(context.Context, *GetArtistReq) (*GetArtistResp, error) GetArtist(context.Context, *GetArtistReq) (*GetArtistResp, error)
// 作品分析相关接口 // 作品分析相关接口
CreateWorkAnalysis(context.Context, *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error) CreateWorkAnalysis(context.Context, *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error)
ImportWorkAnalysis(context.Context, *ImportWorkAnalysisReq) (*ImportWorkAnalysisResp, error)
UpdateWorkAnalysis(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error) UpdateWorkAnalysis(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error)
UpdateWorkAnalysisStatus(context.Context, *UpdateWorkAnalysisStatusReq) (*emptypb.Empty, error) UpdateWorkAnalysisStatus(context.Context, *UpdateWorkAnalysisStatusReq) (*emptypb.Empty, error)
GetWorkAnalysis(context.Context, *GetWorkAnalysisDetailReq) (*GetWorkAnalysisDetailResp, error) GetWorkAnalysis(context.Context, *GetWorkAnalysisDetailReq) (*GetWorkAnalysisDetailResp, error)
@ -877,6 +911,7 @@ type CastServer interface {
ListWorkAnalysis(context.Context, *ListWorkAnalysisReq) (*ListWorkAnalysisResp, error) ListWorkAnalysis(context.Context, *ListWorkAnalysisReq) (*ListWorkAnalysisResp, error)
DeleteWorkAnalysis(context.Context, *DeleteWorkAnalysisReq) (*emptypb.Empty, error) DeleteWorkAnalysis(context.Context, *DeleteWorkAnalysisReq) (*emptypb.Empty, error)
UpdateWorkAnalysisApprovalID(context.Context, *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error) UpdateWorkAnalysisApprovalID(context.Context, *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error)
UpdateWorkAnalysisPdfUrl(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error)
// 数据列表相关接口 // 数据列表相关接口
ArtistDataList(context.Context, *ArtistDataListReq) (*ArtistDataListResp, error) ArtistDataList(context.Context, *ArtistDataListReq) (*ArtistDataListResp, error)
MediaDataList(context.Context, *MediaDataListReq) (*MediaDataListResp, error) MediaDataList(context.Context, *MediaDataListReq) (*MediaDataListResp, error)
@ -921,8 +956,11 @@ type CastServer interface {
DeleteCompetitiveReport(context.Context, *DeleteCompetitiveReportReq) (*emptypb.Empty, error) DeleteCompetitiveReport(context.Context, *DeleteCompetitiveReportReq) (*emptypb.Empty, error)
UpdateCompetitiveReportApprovalID(context.Context, *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error) UpdateCompetitiveReportApprovalID(context.Context, *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error)
CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error)
ImportCompetitiveReportHistory(context.Context, *ImportCompetitiveReportHistoryReq) (*ImportCompetitiveReportHistoryResp, error)
// 发布记录相关接口 // 发布记录相关接口
ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error) ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error)
// 艺人作品统计快照接口
GetArtistWorkStats(context.Context, *GetArtistWorkStatsReq) (*GetArtistWorkStatsResp, error)
mustEmbedUnimplementedCastServer() mustEmbedUnimplementedCastServer()
} }
@ -1087,6 +1125,9 @@ func (UnimplementedCastServer) GetArtist(context.Context, *GetArtistReq) (*GetAr
func (UnimplementedCastServer) CreateWorkAnalysis(context.Context, *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error) { func (UnimplementedCastServer) CreateWorkAnalysis(context.Context, *CreateWorkAnalysisReq) (*CreateWorkAnalysisResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkAnalysis not implemented") return nil, status.Errorf(codes.Unimplemented, "method CreateWorkAnalysis not implemented")
} }
func (UnimplementedCastServer) ImportWorkAnalysis(context.Context, *ImportWorkAnalysisReq) (*ImportWorkAnalysisResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImportWorkAnalysis not implemented")
}
func (UnimplementedCastServer) UpdateWorkAnalysis(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error) { func (UnimplementedCastServer) UpdateWorkAnalysis(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkAnalysis not implemented") return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkAnalysis not implemented")
} }
@ -1108,6 +1149,9 @@ func (UnimplementedCastServer) DeleteWorkAnalysis(context.Context, *DeleteWorkAn
func (UnimplementedCastServer) UpdateWorkAnalysisApprovalID(context.Context, *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error) { func (UnimplementedCastServer) UpdateWorkAnalysisApprovalID(context.Context, *UpdateWorkAnalysisApprovalIDReq) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkAnalysisApprovalID not implemented") return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkAnalysisApprovalID not implemented")
} }
func (UnimplementedCastServer) UpdateWorkAnalysisPdfUrl(context.Context, *UpdateWorkAnalysisReq) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkAnalysisPdfUrl not implemented")
}
func (UnimplementedCastServer) ArtistDataList(context.Context, *ArtistDataListReq) (*ArtistDataListResp, error) { func (UnimplementedCastServer) ArtistDataList(context.Context, *ArtistDataListReq) (*ArtistDataListResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method ArtistDataList not implemented") return nil, status.Errorf(codes.Unimplemented, "method ArtistDataList not implemented")
} }
@ -1207,9 +1251,15 @@ func (UnimplementedCastServer) UpdateCompetitiveReportApprovalID(context.Context
func (UnimplementedCastServer) CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) { func (UnimplementedCastServer) CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountCompetitiveReportByWorkUuids not implemented") return nil, status.Errorf(codes.Unimplemented, "method CountCompetitiveReportByWorkUuids not implemented")
} }
func (UnimplementedCastServer) ImportCompetitiveReportHistory(context.Context, *ImportCompetitiveReportHistoryReq) (*ImportCompetitiveReportHistoryResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImportCompetitiveReportHistory not implemented")
}
func (UnimplementedCastServer) ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error) { func (UnimplementedCastServer) ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListPublishLog not implemented") return nil, status.Errorf(codes.Unimplemented, "method ListPublishLog not implemented")
} }
func (UnimplementedCastServer) GetArtistWorkStats(context.Context, *GetArtistWorkStatsReq) (*GetArtistWorkStatsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetArtistWorkStats not implemented")
}
func (s *UnimplementedCastServer) XXX_SetProxyImpl(impl protocol.Invoker) { func (s *UnimplementedCastServer) XXX_SetProxyImpl(impl protocol.Invoker) {
s.proxyImpl = impl s.proxyImpl = impl
} }
@ -2746,6 +2796,35 @@ func _Cast_CreateWorkAnalysis_Handler(srv interface{}, ctx context.Context, dec
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Cast_ImportWorkAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(ImportWorkAnalysisReq)
if err := dec(in); err != nil {
return nil, err
}
base := srv.(dubbo3.Dubbo3GrpcService)
args := []interface{}{}
args = append(args, in)
md, _ := metadata.FromIncomingContext(ctx)
invAttachment := make(map[string]interface{}, len(md))
for k, v := range md {
invAttachment[k] = v
}
invo := invocation.NewRPCInvocation("ImportWorkAnalysis", args, invAttachment)
if interceptor == nil {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
info := &grpc_go.UnaryServerInfo{
Server: srv,
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
return interceptor(ctx, in, info, handler)
}
func _Cast_UpdateWorkAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Cast_UpdateWorkAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateWorkAnalysisReq) in := new(UpdateWorkAnalysisReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -2949,6 +3028,35 @@ func _Cast_UpdateWorkAnalysisApprovalID_Handler(srv interface{}, ctx context.Con
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Cast_UpdateWorkAnalysisPdfUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateWorkAnalysisReq)
if err := dec(in); err != nil {
return nil, err
}
base := srv.(dubbo3.Dubbo3GrpcService)
args := []interface{}{}
args = append(args, in)
md, _ := metadata.FromIncomingContext(ctx)
invAttachment := make(map[string]interface{}, len(md))
for k, v := range md {
invAttachment[k] = v
}
invo := invocation.NewRPCInvocation("UpdateWorkAnalysisPdfUrl", args, invAttachment)
if interceptor == nil {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
info := &grpc_go.UnaryServerInfo{
Server: srv,
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
return interceptor(ctx, in, info, handler)
}
func _Cast_ArtistDataList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Cast_ArtistDataList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(ArtistDataListReq) in := new(ArtistDataListReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -3906,6 +4014,35 @@ func _Cast_CountCompetitiveReportByWorkUuids_Handler(srv interface{}, ctx contex
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Cast_ImportCompetitiveReportHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(ImportCompetitiveReportHistoryReq)
if err := dec(in); err != nil {
return nil, err
}
base := srv.(dubbo3.Dubbo3GrpcService)
args := []interface{}{}
args = append(args, in)
md, _ := metadata.FromIncomingContext(ctx)
invAttachment := make(map[string]interface{}, len(md))
for k, v := range md {
invAttachment[k] = v
}
invo := invocation.NewRPCInvocation("ImportCompetitiveReportHistory", args, invAttachment)
if interceptor == nil {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
info := &grpc_go.UnaryServerInfo{
Server: srv,
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
return interceptor(ctx, in, info, handler)
}
func _Cast_ListPublishLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Cast_ListPublishLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(ListPublishLogReq) in := new(ListPublishLogReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -3935,6 +4072,35 @@ func _Cast_ListPublishLog_Handler(srv interface{}, ctx context.Context, dec func
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Cast_GetArtistWorkStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(GetArtistWorkStatsReq)
if err := dec(in); err != nil {
return nil, err
}
base := srv.(dubbo3.Dubbo3GrpcService)
args := []interface{}{}
args = append(args, in)
md, _ := metadata.FromIncomingContext(ctx)
invAttachment := make(map[string]interface{}, len(md))
for k, v := range md {
invAttachment[k] = v
}
invo := invocation.NewRPCInvocation("GetArtistWorkStats", args, invAttachment)
if interceptor == nil {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
info := &grpc_go.UnaryServerInfo{
Server: srv,
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
return interceptor(ctx, in, info, handler)
}
// Cast_ServiceDesc is the grpc_go.ServiceDesc for Cast service. // Cast_ServiceDesc is the grpc_go.ServiceDesc for Cast service.
// It's only intended for direct use with grpc_go.RegisterService, // It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy) // and not to be introspected or modified (even as a copy)
@ -4150,6 +4316,10 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "CreateWorkAnalysis", MethodName: "CreateWorkAnalysis",
Handler: _Cast_CreateWorkAnalysis_Handler, Handler: _Cast_CreateWorkAnalysis_Handler,
}, },
{
MethodName: "ImportWorkAnalysis",
Handler: _Cast_ImportWorkAnalysis_Handler,
},
{ {
MethodName: "UpdateWorkAnalysis", MethodName: "UpdateWorkAnalysis",
Handler: _Cast_UpdateWorkAnalysis_Handler, Handler: _Cast_UpdateWorkAnalysis_Handler,
@ -4178,6 +4348,10 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "UpdateWorkAnalysisApprovalID", MethodName: "UpdateWorkAnalysisApprovalID",
Handler: _Cast_UpdateWorkAnalysisApprovalID_Handler, Handler: _Cast_UpdateWorkAnalysisApprovalID_Handler,
}, },
{
MethodName: "UpdateWorkAnalysisPdfUrl",
Handler: _Cast_UpdateWorkAnalysisPdfUrl_Handler,
},
{ {
MethodName: "ArtistDataList", MethodName: "ArtistDataList",
Handler: _Cast_ArtistDataList_Handler, Handler: _Cast_ArtistDataList_Handler,
@ -4310,10 +4484,18 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "CountCompetitiveReportByWorkUuids", MethodName: "CountCompetitiveReportByWorkUuids",
Handler: _Cast_CountCompetitiveReportByWorkUuids_Handler, Handler: _Cast_CountCompetitiveReportByWorkUuids_Handler,
}, },
{
MethodName: "ImportCompetitiveReportHistory",
Handler: _Cast_ImportCompetitiveReportHistory_Handler,
},
{ {
MethodName: "ListPublishLog", MethodName: "ListPublishLog",
Handler: _Cast_ListPublishLog_Handler, Handler: _Cast_ListPublishLog_Handler,
}, },
{
MethodName: "GetArtistWorkStats",
Handler: _Cast_GetArtistWorkStats_Handler,
},
}, },
Streams: []grpc_go.StreamDesc{}, Streams: []grpc_go.StreamDesc{},
Metadata: "pb/fiee/cast.proto", Metadata: "pb/fiee/cast.proto",