修改获取平台判断
This commit is contained in:
parent
09dc29b966
commit
127f030415
@ -520,7 +520,8 @@ func PostAS(workUuid string) error {
|
||||
needPlatformIDs := workDetail.NeedPlatformIDs
|
||||
if len(needPlatformIDs) == 0 {
|
||||
zap.L().Error("Publish WorkDetail failed 作品无发布平台", zap.String("workUuid", workUuid))
|
||||
return errors.New("作品无发布平台")
|
||||
return nil
|
||||
//return errors.New("作品无发布平台")
|
||||
}
|
||||
zap.L().Info("post 2", zap.Any("workUuid", workUuid))
|
||||
var mediaUrls []string
|
||||
|
||||
Loading…
Reference in New Issue
Block a user