Sfoglia il codice sorgente

yinruoxi

feature:
    1.新增:添加交互log。
undefined
kira 1 anno fa
parent
commit
cc857e2e9e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      xueyi-modules/xueyi-nlt/src/main/java/com/xueyi/nlt/nlt/service/impl/LogServiceImpl.java

+ 2
- 1
xueyi-modules/xueyi-nlt/src/main/java/com/xueyi/nlt/nlt/service/impl/LogServiceImpl.java Vedi File

@@ -12,7 +12,8 @@ public class LogServiceImpl {
private static final Logger intentLog = LoggerFactory.getLogger("intentLog");

@TLogAspect({"enterpriseName","type"})
public void record(JSONObject jo,String enterpriseName, String type) {
public void record(JSONObject jo,String text,String enterpriseName, String type) {
jo.put("text",text);
intentLog.info("{}", jo.toJSONString());
}
}

Caricamento…
Annulla
Salva