小程序端直接把音频转成文本

This commit is contained in:
zhonghua1
2026-01-05 20:53:07 +08:00
parent 1167707631
commit 8f35c605d1
4 changed files with 223 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
package com.rj.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
@@ -18,9 +17,4 @@ public class RestTemplateConfig {
public RestTemplate restTemplate() {
return new RestTemplate();
}
@Bean
public ObjectMapper objectMapper() {
return new ObjectMapper();
}
}