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

导出功能不完善,接口返参数据不全 #146

Open
zfthink opened this issue May 28, 2021 · 5 comments
Open

导出功能不完善,接口返参数据不全 #146

zfthink opened this issue May 28, 2021 · 5 comments

Comments

@zfthink
Copy link

zfthink commented May 28, 2021

导出功能有bug,返参的数据不全
线上接口
image

导出到本地si私有化的接口
image

@huntbao
Copy link
Collaborator

huntbao commented Jun 13, 2021

给下导出数据

@zfthink
Copy link
Author

zfthink commented Jun 15, 2021

给下导出数据

response.zip
这是导出数据

@huntbao
Copy link
Collaborator

huntbao commented Jun 21, 2021

已修复,根据type字段的值去datatypes字段数组中查找即可。

@zfthink
Copy link
Author

zfthink commented Jun 22, 2021

您好,我看您已经把导出优化好了,现在object匿名数据类型的子层级内容也有了,但是导出来的json,再导入私有化部署的nei时候,匿名数据类型没有识别出来,
QQ图片20210622091557
QQ图片20210622091617
QQ图片20210622091629
QQ图片20210622091641
,直接识别成了variable啦,;但是如果字段是Array,却可以正确导入
QQ图片20210622091649
,麻烦再看一下吧

@huntbao
Copy link
Collaborator

huntbao commented Jun 22, 2021

父级是一个导入的数据模型,它的某个字段是一个匿名类型,这个功能还没实现。

代码在这里,可以自己研究一下:https://github.com/NEIAPI/nei/blob/master/server/service/InterfaceService.js#L275

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