|
@@ -47,8 +47,12 @@ public class NLPRemoteService {
|
|
|
private Map<String, Long> accountScoreMinTimeMap;
|
|
|
|
|
|
private static CloseableHttpClient client = HttpPoolFactory.nlpPool();
|
|
|
- private static final String scoreListUrl = "http://61.48.133.26:6060/score_list";
|
|
|
- private static final String backUrl = "http://61.48.133.26:6061/score_list";
|
|
|
+
|
|
|
+ @Value("${scoreList.url:http://61.48.133.26:6060/score_list}")
|
|
|
+ private String scoreListUrl;
|
|
|
+
|
|
|
+ @Value("${scoreList.back.url:http://192.168.203.4:6060/score_list}")
|
|
|
+ private String backUrl;
|
|
|
|
|
|
public Map<String, Double> score(String ghId, String accountName, List<Content> contentList) {
|
|
|
long start = System.currentTimeMillis();
|