From b8239c1687889c6bac0f2ba37f66257c9f1d1131 Mon Sep 17 00:00:00 2001 From: zhaowenyu <35589726@qq.com> Date: Sat, 29 Nov 2025 09:11:16 +0800 Subject: [PATCH] 2025-11-29 zwy 在停止直播时不删除Vtdu表记录,所以在开启直播时再插入会报错,所以要先查询是否存在该记录,如果已经存在记录,直接返回直播地址 --- ard-sample/src/main/java/com/ard/sample/storage/service/impl/StorageServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ard-sample/src/main/java/com/ard/sample/storage/service/impl/StorageServiceImpl.java b/ard-sample/src/main/java/com/ard/sample/storage/service/impl/StorageServiceImpl.java index 3054078..3d02b52 100644 --- a/ard-sample/src/main/java/com/ard/sample/storage/service/impl/StorageServiceImpl.java +++ b/ard-sample/src/main/java/com/ard/sample/storage/service/impl/StorageServiceImpl.java @@ -1,11 +1,11 @@ package com.ard.sample.storage.service.impl; +import com.ard.common.config.OssConfiguration; import com.ard.sample.component.mqtt.model.*; import com.ard.sample.component.mqtt.service.IMessageSenderService; -import com.ard.common.config.OssConfiguration; -import com.ard.sample.component.oss.service.impl.OssServiceContext; -import com.ard.sample.media.model.StsCredentialsDTO; +import com.ard.oss.model.StsCredentialsDTO; import com.ard.sample.storage.service.IStorageService; +import com.ard.oss.service.impl.OssServiceContext; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.integration.annotation.ServiceActivator; import org.springframework.integration.mqtt.support.MqttHeaders; -- Gitblit v1.9.3