增加远程地址配置
This commit is contained in:
parent
569539d1f0
commit
3435428b71
@ -0,0 +1,13 @@
|
|||||||
|
package com.artedu.generation.config;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Component
|
||||||
|
@ConfigurationProperties(prefix = "qa")
|
||||||
|
public class QaConfig {
|
||||||
|
|
||||||
|
private String apiUrl = "http://localhost:8000/api/qa/query";
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user