|
|
@ -17,8 +17,8 @@ import com.hnac.gglm.bigmodel.interactive.vo.AuthDataVO; |
|
|
|
import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO; |
|
|
|
import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO; |
|
|
|
import com.hnac.gglm.bigmodel.interactive.vo.SessionContentVO; |
|
|
|
import com.hnac.gglm.bigmodel.interactive.vo.SessionContentVO; |
|
|
|
import com.hnac.gglm.bigmodel.manager.SessionRedisManager; |
|
|
|
import com.hnac.gglm.bigmodel.manager.SessionRedisManager; |
|
|
|
import groovy.util.logging.Slf4j; |
|
|
|
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.tool.utils.BeanUtil; |
|
|
|
import org.springblade.core.tool.utils.BeanUtil; |
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
@ -97,6 +97,7 @@ public class HznlmInteractiveServiceImpl implements IHznlmInteractiveService { |
|
|
|
} |
|
|
|
} |
|
|
|
String levelAuth = ParamCache.getValue(ParamKeyConstants.LIBRARY_AUTH_LEVEL); |
|
|
|
String levelAuth = ParamCache.getValue(ParamKeyConstants.LIBRARY_AUTH_LEVEL); |
|
|
|
result.put("levelAuth",Optional.ofNullable(levelAuth).map(Integer::valueOf).orElse(0)); |
|
|
|
result.put("levelAuth",Optional.ofNullable(levelAuth).map(Integer::valueOf).orElse(0)); |
|
|
|
|
|
|
|
log.info("知识库鉴权:{}",result); |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|