Merge pull request 'by Robin at 20240403' (#227) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/227
This commit is contained in:
commit
ec13f41975
|
@ -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),
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"` // 动态媒体可见范围,单位媒体个数
|
||||
|
|
Loading…
Reference in New Issue