|
|
|
@@ -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 { |
|
|
|
/** 系统 - 意图管理 |
|
|
|
管理 - 列表 */ |
|
|
|
|