Merge branch 'feature-publishLog-daiyb' into dev
This commit is contained in:
commit
1e744e4000
@ -1018,8 +1018,6 @@ func RePublish(ctx *gin.Context) {
|
|||||||
req.PublishSource = cast.PublishSourceENUM_RePublishType_MANUAL
|
req.PublishSource = cast.PublishSourceENUM_RePublishType_MANUAL
|
||||||
}
|
}
|
||||||
newCtx := NewCtxWithUserInfo(ctx)
|
newCtx := NewCtxWithUserInfo(ctx)
|
||||||
service.Success(ctx, req) //FIXME
|
|
||||||
return
|
|
||||||
err = republishCore(ctx, newCtx, req)
|
err = republishCore(ctx, newCtx, req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.Error(ctx, err)
|
service.Error(ctx, err)
|
||||||
@ -1083,9 +1081,10 @@ func republishCore(gCtx *gin.Context, newCtx context.Context, req *cast.RePublis
|
|||||||
zap.L().Error("RePublish UpsertTaskList failed", zap.Error(err))
|
zap.L().Error("RePublish UpsertTaskList failed", zap.Error(err))
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err = PublishWork(newCtx, &cast.PublishReq{WorkUuids: resp.WorkUuids}); err != nil {
|
//FIXME
|
||||||
|
/* if err = PublishWork(newCtx, &cast.PublishReq{WorkUuids: resp.WorkUuids}); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}*/
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user