小可耐

Results 39 comments of 小可耐

> ### Clear and concise description of the problem > 单个服务器性能瓶颈,同时并发会导致需要时效的任务失败,分布式设计在一个面板中部署任务,分发至各个子节点 > > ### Suggested solution > 任务管理模块分发任务,添加子节点支持 > > ### Alternative > _No response_ > > ### Additional context...

有没有相关实现demo参考一下

> > 获取请求ip地址或者request对象,您是怎么传递的 我看图片当中也提到了访问ip > > 图里的只是使用的示例,并不是实际我的代码。 > > 你要获取ip或者request对象,我理解你用常规的HttpServletRequest或者其他Spring或者web容器的就可以了,和操作日志框架本身没关系。 > > 你网上搜类似的文章很多的: > > https://www.cnblogs.com/ying-dong/p/12329085.html 我的意思其实是拦截到request对象,传递日志处理那一级进行统一处理,主要是想利用框架带来的便利

> > > > 获取请求ip地址或者request对象,您是怎么传递的 我看图片当中也提到了访问ip > > > > > > > > > 图里的只是使用的示例,并不是实际我的代码。 > > > 你要获取ip或者request对象,我理解你用常规的HttpServletRequest或者其他Spring或者web容器的就可以了,和操作日志框架本身没关系。 > > > 你网上搜类似的文章很多的: > > > https://www.cnblogs.com/ying-dong/p/12329085.html > >...

> ``` > @Component > public class CustomFuncTestOperationLogGetService implements IOperationLogGetService { > @Override > public void createLog(LogDTO logDTO) { > log.info("logDTO: [{}]", JSON.toJSONString(logDTO)); > // 处理logDTO的地方,你可以在这里统一写入request信息到logDTO的特定字段里,写入哪个字段就看你需求了 > } > }...

#87 这是我的想法实现 这样就不用维护request对象了,而且用户也可以进行自定义操作 例如 1、实现接口IOperatorService ,对request对象操作(我们操作的时候request对象都是有效,只有异步写出会失效),放入logDTO.setExtra()字段,日志那一层进行具体封装自己的pojo,代码也就没有侵入性了 ``` @Slf4j @Service public class IOperatorServiceImpl implements IOperatorService { @Override public void operatorServletRequestAttributes(ServletRequestAttributes servletRequestAttributes, LogDTO logDTO) { HttpServletRequest request = servletRequestAttributes.getRequest(); Map parameterMap =...

> Good idea, do you have any designs? 1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the...

> > > Good idea, do you have any designs? > > > > > > 1, the first step in the database to increase param_data_type field default value is...

> > > > > Good idea, do you have any designs? > > > > > > > > > > > > 1, the first step in the...

一、 DESC: This PR is for the startup parameter, global parameter, project parameter support custom data value type, to meet our needs for data use, increase user experience. Which I...