Ver código fonte

修改

1、删去无用的测试函数
undefined
10710 1 ano atrás
pai
commit
411c1974e8
1 arquivos alterados com 0 adições e 12 exclusões
  1. +0
    -12
      xueyi-modules/xueyi-nlt/src/main/java/com/xueyi/nlt/nlt/controller/DmIntentController.java

+ 0
- 12
xueyi-modules/xueyi-nlt/src/main/java/com/xueyi/nlt/nlt/controller/DmIntentController.java Ver arquivo

@@ -1170,18 +1170,6 @@ public class DmIntentController extends BaseController<DmIntentQuery, DmIntentDt
}
}

@PostMapping("/api/test")
@ResponseBody
public String collectHotspotApi(@RequestBody String query){
String result = dmHotspotService.generateHotspotPrompt(query);
JSONObject a = freeChatTemplate.handle("-1", query);
JSONObject b = freeChatTemplate.handle("-1", query, true);
JSONArray c = new JSONArray();
c.add(a);
c.add(b);
return c.toJSONString();
}

interface Auth {
/** 系统 - 意图管理
管理 - 列表 */


Carregando…
Cancelar
Salvar