diff --git a/app/mix/service/imageauditservice.go b/app/mix/service/imageauditservice.go index b4e01724..15ff841a 100644 --- a/app/mix/service/imageauditservice.go +++ b/app/mix/service/imageauditservice.go @@ -84,7 +84,7 @@ func (s *Service) CreateZoneMomentImageAudit(ctx *gin.Context, newZoneMoment *db AssociativeDatabase: goproto.String("zone_moment"), AssociativeTableName: goproto.String("zone_moment"), AssociativeTableId: newZoneMoment.Id, - AssociativeTableColumn: goproto.String("media_comp"), + AssociativeTableColumn: goproto.String("media_component"), AuditedMedia: newZoneMoment.MediaComp, OldMedia: nil, IsAligned: goproto.Int64(consts.ImageAuditIsAligned_Yes), diff --git a/app/mix/service/imageaudittask_result_handler.go b/app/mix/service/imageaudittask_result_handler.go index 10923d6b..09465555 100644 --- a/app/mix/service/imageaudittask_result_handler.go +++ b/app/mix/service/imageaudittask_result_handler.go @@ -155,7 +155,7 @@ func (handler *ImageAuditTaskResultHandler) generateMomentMediaComponentUpdateFu // 私密动态表->图像内容,若不通过,则写入不通过的原因 func (handler *ImageAuditTaskResultHandler) generateZoneMomentMediaComponentUpdateFunc() { - handler.imageAuditTaskUpdateFuncGeneratorMap["zone_moment|zone_moment|media_comp"] = func(ctx *gin.Context, task *dbstruct.ImageAuditTask, option int) func() error { + handler.imageAuditTaskUpdateFuncGeneratorMap["zone_moment|zone_moment|media_component"] = func(ctx *gin.Context, task *dbstruct.ImageAuditTask, option int) func() error { return func() error { //20240403更新: 增加成功后处理的切面,尝试触发完成审核的逻辑 if option == consts.ImageAuditTaskUpdate_Success { diff --git a/dbstruct/zonemoment.go b/dbstruct/zonemoment.go index aa2ff14e..8eaf8721 100644 --- a/dbstruct/zonemoment.go +++ b/dbstruct/zonemoment.go @@ -9,7 +9,7 @@ type ZoneMoment struct { CType *int64 `json:"c_type" bson:"c_type"` // 动态付费类型,0-免费贴,1-付费贴 IsIronfanVisible *int64 `json:"is_ironfan_visible" bson:"is_ironfan_visible"` // 铁粉是否可以免费看 Text *string `json:"text" bson:"text"` // 动态文字内容 - MediaComp *MediaComponent `json:"media_comp" bson:"media_comp"` // 动态媒体内容 + MediaComp *MediaComponent `json:"media_component" bson:"media_component"` // 动态媒体内容 MType *int64 `json:"m_type" bson:"m_type"` // 媒体类型,见: MediaType* TextVisibleRange *int64 `json:"text_visible_range" bson:"text_visible_range"` // 动态文字可见范围,单位行 MediaVisibleRange *int64 `json:"media_visible_range" bson:"media_visible_range"` // 动态媒体可见范围,单位媒体个数