lrj
22 小时以前 dc643ba44fd2a426263015491268a0f0d6b4671d
backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerService.java
@@ -18,6 +18,7 @@
import com.rongyichuang.user.service.UserService;
import com.rongyichuang.media.service.MediaV2Service;
import com.rongyichuang.media.dto.MediaSaveInput;
import com.rongyichuang.message.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -57,6 +58,9 @@
    @Autowired
    private MediaV2Service mediaV2Service;
    @Autowired
    private MessageService messageService;
@@ -362,6 +366,13 @@
            activityPlayer.setFeedback(feedback);
            activityPlayerRepository.save(activityPlayer);
            // 创建审核通过消息
            messageService.createApprovalMessage(
                activityPlayerId,
                activityPlayer.getPlayerId(),
                activityPlayer.getProjectName()
            );
            log.info("审核通过成功,activityPlayerId: {}", activityPlayerId);
            return true;
        } catch (Exception e) {
@@ -385,6 +396,13 @@
            activityPlayer.setFeedback(feedback);
            activityPlayerRepository.save(activityPlayer);
            // 创建审核驳回消息
            messageService.createRejectionMessage(
                activityPlayerId,
                activityPlayer.getPlayerId(),
                activityPlayer.getProjectName()
            );
            log.info("审核驳回成功,activityPlayerId: {}", activityPlayerId);
            return true;
        } catch (Exception e) {