| @@ -19,6 +19,7 @@ import com.iformall.utils.sign.SignUtils; | |||||
| import lombok.extern.slf4j.Slf4j; | import lombok.extern.slf4j.Slf4j; | ||||
| import org.apache.commons.lang3.StringUtils; | import org.apache.commons.lang3.StringUtils; | ||||
| import org.springframework.beans.factory.annotation.Value; | import org.springframework.beans.factory.annotation.Value; | ||||
| import org.springframework.stereotype.Component; | |||||
| import java.nio.charset.StandardCharsets; | import java.nio.charset.StandardCharsets; | ||||
| import java.security.MessageDigest; | import java.security.MessageDigest; | ||||
| @@ -26,6 +27,7 @@ import java.security.NoSuchAlgorithmException; | |||||
| import java.util.*; | import java.util.*; | ||||
| @Slf4j | @Slf4j | ||||
| @Component | |||||
| public class AiVideoHelper { | public class AiVideoHelper { | ||||
| // public static String uri = "http://222.128.9.132:22266"; | // public static String uri = "http://222.128.9.132:22266"; | ||||
| @@ -38,8 +40,12 @@ public class AiVideoHelper { | |||||
| // public static String url = "http://111.198.0.15:22299"; | // public static String url = "http://111.198.0.15:22299"; | ||||
| // public static String hy_url = "http://111.198.0.15:22288"; | // public static String hy_url = "http://111.198.0.15:22288"; | ||||
| @Value("${photo.url}") | |||||
| private static String url; | private static String url; | ||||
| @Value("${photo.url}") | |||||
| public void setUrl(String url){ | |||||
| this.url = url; | |||||
| } | |||||
| @Value("${photo.hy_url}") | @Value("${photo.hy_url}") | ||||
| private static String hy_url; | private static String hy_url; | ||||
| @Value("${photo.talk}") | @Value("${photo.talk}") | ||||