作品发布记录
This commit is contained in:
parent
10389625bf
commit
37246ed813
13433
api/cast/cast.pb.go
13433
api/cast/cast.pb.go
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.8
|
||||
// - protoc v3.21.1
|
||||
// - protoc v6.32.0--rc2
|
||||
// source: pb/fiee/cast.proto
|
||||
|
||||
package cast
|
||||
|
||||
@ -1995,15 +1995,16 @@ func RefreshPublish() error {
|
||||
ProfileKey: workInfo.ProfileKey,
|
||||
})
|
||||
|
||||
go func() {
|
||||
postBytes, _ := json.Marshal(postResp)
|
||||
go func(work *cast.RefreshWorkListResp_Info, platform *cast.RefreshWorkListResp_Info_PlatformInfo, post *aryshare.GetPostResponse) {
|
||||
postBytes, _ := json.Marshal(post)
|
||||
_, _ = service.CastProvider.UpdateWorkPublishLog(context.Background(), &cast.UpdateWorkPublishLogReq{
|
||||
PlatformID: platformInfo.PlatformID,
|
||||
WorkUuid: workInfo.WorkUuid,
|
||||
Action: "getPost",
|
||||
Detail: string(postBytes),
|
||||
PlatformID: platform.PlatformID,
|
||||
WorkUuid: work.WorkUuid,
|
||||
Action: "getPost",
|
||||
Detail: string(postBytes),
|
||||
PublishMediaID: platform.PublishMediaID,
|
||||
})
|
||||
}()
|
||||
}(workInfo, platformInfo, postResp)
|
||||
|
||||
if _err != nil {
|
||||
zap.L().Error("GetPost err", zap.Error(_err))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user