Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启和关闭机场远程调试那个api,接口有问题。 #28

Open
Noah1991 opened this issue Jun 16, 2023 · 1 comment
Open

开启和关闭机场远程调试那个api,接口有问题。 #28

Noah1991 opened this issue Jun 16, 2023 · 1 comment

Comments

@Noah1991
Copy link

开启和关闭机场远程调试那个api,接口有问题,永远返回参数错误。看提交记录之前的版本是好的,web页面请求debug_mode_open,时是没有带param过来的,controlMethodEnum不为null就应该下发指令,不应该再判断param是否为空。或者让web改一下,带参数请求

@412111959
Copy link

412111959 commented Jul 21, 2023

一个可能的解决方案
image
mapper.convertValue(Objects.nonNull(param) ? param.getAction() : new Object(), controlMethodEnum.getClazz())

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants