调用算法lac

This commit is contained in:
wulin 2023-10-21 20:34:19 +08:00
parent 7aa9325a24
commit 79843b3b36
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class LacNlpService implements INlp {
@Override @Override
public Mono<Nlp> geSingletNlp(String value) { public Mono<Nlp> geSingletNlp(String value) {
if(SpringUtil.getProperty("lac.type").equals("suanfa")){ if(!SpringUtil.getProperty("lac.type").equals("suanfa")){
return getHubFaLac(value); return getHubFaLac(value);
} }
return getSuanFaLac(value); return getSuanFaLac(value);

View File

@ -2,6 +2,6 @@ server:
port: 8080 port: 8080
spring: spring:
profiles: profiles:
active: test active: dev
application: application:
name: qiuguo-iot-box-websocket name: qiuguo-iot-box-websocket