mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-13 20:53:42 +08:00
删除video目录
This commit is contained in:
@@ -173,6 +173,13 @@
|
|||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 微信模块 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.xmzs</groupId>
|
||||||
|
<artifactId>ruoyi-midjourney</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- 支付模块 -->
|
<!-- 支付模块 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xmzs</groupId>
|
<groupId>com.xmzs</groupId>
|
||||||
|
|||||||
@@ -9,6 +9,12 @@
|
|||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<artifactId>ruoyi-modules</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
ruoyi-modules 业务模块
|
||||||
|
</description>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>ruoyi-demo</module>
|
<module>ruoyi-demo</module>
|
||||||
@@ -19,11 +25,4 @@
|
|||||||
<module>ruoyi-live</module>
|
<module>ruoyi-live</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<artifactId>ruoyi-modules</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<description>
|
|
||||||
ruoyi-modules 业务模块
|
|
||||||
</description>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -1,26 +1,26 @@
|
|||||||
<!--
|
<!--<!–-->
|
||||||
~ MIT License
|
<!-- ~ MIT License-->
|
||||||
~
|
<!-- ~-->
|
||||||
~ Copyright (c) 2023 OrdinaryRoad
|
<!-- ~ Copyright (c) 2023 OrdinaryRoad-->
|
||||||
~
|
<!-- ~-->
|
||||||
~ Permission is hereby granted, free of charge, to any person obtaining a copy
|
<!-- ~ Permission is hereby granted, free of charge, to any person obtaining a copy-->
|
||||||
~ of this software and associated documentation files (the "Software"), to deal
|
<!-- ~ of this software and associated documentation files (the "Software"), to deal-->
|
||||||
~ in the Software without restriction, including without limitation the rights
|
<!-- ~ in the Software without restriction, including without limitation the rights-->
|
||||||
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
<!-- ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-->
|
||||||
~ copies of the Software, and to permit persons to whom the Software is
|
<!-- ~ copies of the Software, and to permit persons to whom the Software is-->
|
||||||
~ furnished to do so, subject to the following conditions:
|
<!-- ~ furnished to do so, subject to the following conditions:-->
|
||||||
~
|
<!-- ~-->
|
||||||
~ The above copyright notice and this permission notice shall be included in all
|
<!-- ~ The above copyright notice and this permission notice shall be included in all-->
|
||||||
~ copies or substantial portions of the Software.
|
<!-- ~ copies or substantial portions of the Software.-->
|
||||||
~
|
<!-- ~-->
|
||||||
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
<!-- ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-->
|
||||||
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
<!-- ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-->
|
||||||
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
<!-- ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-->
|
||||||
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
<!-- ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-->
|
||||||
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
<!-- ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-->
|
||||||
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
<!-- ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-->
|
||||||
~ SOFTWARE.
|
<!-- ~ SOFTWARE.-->
|
||||||
-->
|
<!-- –>-->
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
<packaging>pom</packaging>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>ruoyi-live</artifactId>
|
<artifactId>ruoyi-live</artifactId>
|
||||||
<packaging>pom</packaging>
|
|
||||||
<description>
|
<description>
|
||||||
AI直播
|
AI直播
|
||||||
</description>
|
</description>
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ public class ISseServiceImpl implements ISseService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public ResponseEntity<Resource> textToSpeed(TextToSpeech textToSpeech) {
|
public ResponseEntity<Resource> textToSpeed(TextToSpeech textToSpeech) {
|
||||||
ResponseBody body = openAiStreamClient.textToSpeechClone(textToSpeech);
|
ResponseBody body = openAiStreamClient.textToSpeech(textToSpeech);
|
||||||
if (body != null) {
|
if (body != null) {
|
||||||
// 将ResponseBody转换为InputStreamResource
|
// 将ResponseBody转换为InputStreamResource
|
||||||
InputStreamResource resource = new InputStreamResource(body.byteStream());
|
InputStreamResource resource = new InputStreamResource(body.byteStream());
|
||||||
|
|||||||
BIN
video/01.mp4
BIN
video/01.mp4
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user