joey
joey
前提:有一个BaseRequestDTO,其中有最基础的、所有请求都需要传的字段,如用户id、token等。大多数接口(A类)都是在BaseRequest的基础上根据需要定义不同的requestDTO,方法是继承BaseRequestDTO,添加其他字段。也有极少数接口(B类)使用BaseRequestDTO就够了,不需要定义新的requestDTO。 问题:A类接口生成的request json是空,只有左右大括号。B类接口生成的request json是正确的。似乎在requestDTO extends 另一个类的时候,request json生成就会失败。
前提:有一个controller类有注解`@RequestMapping(WebConsts.PREFIX)`,其中`PREFIX`是在`WebConsts`类中定义的常量,值为/api。 问题:这个controller类中的接口方法解析后得出的url并不是预期的/api/foobar,而是/WebConsts.PREFIX/foobar。也就是说在解析url时,并没有对其中的静态常量进行取值,而是直接使用其引用名。
code block in my markdown:  there is no indentation on my rendered page:  is there any solution?
## Feature Request **Is your feature request related to a problem? Please describe.** I'm currently using the Code Spell Checker extension in Visual Studio Code. My issue is that the...
大环境下武汉买房也不需要武汉户口了,不知道还有没有其他政策变化(比如学区房政策)
### Clear and concise description of the problem 我的环境不能用root用户运行docker,青龙无法直接使用。我有一点编程基础,改了改Dockerfile重新编译,总算能够启动了。 但是启动后添加新定时任务时会报错,刷新一下会发现任务能够被查询出来,但是不会被定时执行。 我查了一下,可能是因为alpine系统上crond、crontab命令要求root权限? ### Suggested solution 把对系统crond、crontab的依赖替换为 https://github.com/gjcarneiro/yacron 这种应用级的实现应该能从本质上解决这个问题。 但是这可能不现实,开发量太大。 如果官方能提供“以非root用户运行”的指引文档,相信会对很多人有所帮助。 或者,能否指导下,一次新增定时任务从前端发起请求,到后端经历了哪些步骤? 我猜在我的情况下,报错的是最后一步——把定时任务添加到crontabs中时。但是我看代码绕晕了,不知道这一步是在哪里😭 ### Alternative _No response_ ### Additional context https://stackoverflow.com/questions/36453787/failed-to-edit-crontab-linux-alpine https://gitlab.alpinelinux.org/alpine/aports/-/issues/5380...
### Is there an existing issue for this? - [X] I have searched the existing issues and checked the recent builds/commits ### What would your feature do ? see this...