作品发布记录

This commit is contained in:
daiyb 2026-02-24 16:27:36 +08:00
parent 10389625bf
commit 37246ed813
4 changed files with 4724 additions and 9144 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.8 // - protoc-gen-go-triple v1.0.8
// - protoc v3.21.1 // - protoc v6.32.0--rc2
// source: pb/fiee/cast.proto // source: pb/fiee/cast.proto
package cast package cast

View File

@ -1995,15 +1995,16 @@ func RefreshPublish() error {
ProfileKey: workInfo.ProfileKey, ProfileKey: workInfo.ProfileKey,
}) })
go func() { go func(work *cast.RefreshWorkListResp_Info, platform *cast.RefreshWorkListResp_Info_PlatformInfo, post *aryshare.GetPostResponse) {
postBytes, _ := json.Marshal(postResp) postBytes, _ := json.Marshal(post)
_, _ = service.CastProvider.UpdateWorkPublishLog(context.Background(), &cast.UpdateWorkPublishLogReq{ _, _ = service.CastProvider.UpdateWorkPublishLog(context.Background(), &cast.UpdateWorkPublishLogReq{
PlatformID: platformInfo.PlatformID, PlatformID: platform.PlatformID,
WorkUuid: workInfo.WorkUuid, WorkUuid: work.WorkUuid,
Action: "getPost", Action: "getPost",
Detail: string(postBytes), Detail: string(postBytes),
PublishMediaID: platform.PublishMediaID,
}) })
}() }(workInfo, platformInfo, postResp)
if _err != nil { if _err != nil {
zap.L().Error("GetPost err", zap.Error(_err)) zap.L().Error("GetPost err", zap.Error(_err))