作品发布记录
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.
|
// 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
|
||||||
|
|||||||
@ -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))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user