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

支持motan rpc框架 #46

Merged
merged 18 commits into from
Aug 29, 2023
Merged

支持motan rpc框架 #46

merged 18 commits into from
Aug 29, 2023

Conversation

coderDylan
Copy link
Contributor

  1. Added support for motan rpc framework
  2. Fixed several bugs

@yananliuyanjiang
Copy link
Collaborator

我看是不是把个人数据库账号密码提交上来了?需要删除吗

@coderDylan
Copy link
Contributor Author

我看是不是把个人数据库账号密码提交上来了?需要删除吗

那个我应该已经脱敏过了的,都是本地测试的环境,风险还好

@coderDylan
Copy link
Contributor Author

@yananliuyanjiang 抽空帮忙review一下

@yananliuyanjiang
Copy link
Collaborator

OK

@@ -249,6 +250,7 @@ public boolean saveData(RecordWrapperEntity wrapper) {
entity.setResponse(wrapper.getResponse());

try {
//TODO 这里会莫名奇妙的把response字段转义
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是bug还是?是否影响正常功能?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方是这样的,如果RPC接口方法响应结果是纯字符串类型的,会自动给加上转义字符。当然,通常一般公司定义RPC接口方法返回类型都会是定义的POJO包装类型,不会直接返回一个String。
这个转义字符,会导致在结果对比的时候对比是通过的,但是diff界面上会出现不一致提示,视觉上有点影响。这个转义字符的问题,我在其他地方做了特殊处理,已经解决了

@yananliuyanjiang yananliuyanjiang merged commit 106d3e9 into vivo:main Aug 29, 2023
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

Successfully merging this pull request may close these issues.

3 participants