|
@@ -637,10 +637,10 @@ public class SysAdminSetController {
|
|
List<SysConfigResult> list = new ArrayList<>();
|
|
List<SysConfigResult> list = new ArrayList<>();
|
|
// 是否开启机器人
|
|
// 是否开启机器人
|
|
SysConfig aiRobotSwitch = commonCacheService.addSysConfigCache(schoolId, SystemConstant.AI_ROBOT_ENABLE);
|
|
SysConfig aiRobotSwitch = commonCacheService.addSysConfigCache(schoolId, SystemConstant.AI_ROBOT_ENABLE);
|
|
- list.add(aiRobotSwitch != null ? new SysConfigResult(aiRobotSwitch) : new SysConfigResult(null, SystemConstant.AI_ROBOT_ENABLE, "是否开启机器人", "", 1));
|
|
|
|
|
|
+ list.add(aiRobotSwitch != null ? new SysConfigResult(aiRobotSwitch) : new SysConfigResult(null, SystemConstant.AI_ROBOT_ENABLE, "是否启用机器人", "false", 1));
|
|
// 机器人链接
|
|
// 机器人链接
|
|
SysConfig aiRobotUrl = commonCacheService.addSysConfigCache(schoolId, SystemConstant.AI_ROBOT_URL);
|
|
SysConfig aiRobotUrl = commonCacheService.addSysConfigCache(schoolId, SystemConstant.AI_ROBOT_URL);
|
|
- list.add(aiRobotUrl != null ? new SysConfigResult(aiRobotUrl) : new SysConfigResult(null, SystemConstant.AI_ROBOT_URL, "机器人链接", "", 2));
|
|
|
|
|
|
+ list.add(aiRobotUrl != null ? new SysConfigResult(aiRobotUrl) : new SysConfigResult(null, SystemConstant.AI_ROBOT_URL, "机器人链接", "https://dify.qmth.com.cn/chat/O5OzUXL2hAOsr86c", 2));
|
|
sysAdminSetResult.setResult(list);
|
|
sysAdminSetResult.setResult(list);
|
|
return ResultUtil.ok(sysAdminSetResult);
|
|
return ResultUtil.ok(sysAdminSetResult);
|
|
}
|
|
}
|