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

ExampleRequest_Get_withQuery_arr 这个方法过不了单元测试 #16

Closed
hwh820 opened this issue Mar 18, 2020 · 1 comment
Closed

Comments

@hwh820
Copy link

hwh820 commented Mar 18, 2020

如果用户输入为
Query: map[string]interface{}{
"iReportID": 20,
"iModuleID": 1,
},
转换string 那也会有报错

@idoubi
Copy link
Owner

idoubi commented Mar 18, 2020

目前Query只支持
map[string]string
map[string][]string
两种格式的数据。

你改成

Query: map[string]interface{}{
"iReportID": "20",
"iModuleID": "1",
}

就可以了

@idoubi idoubi closed this as completed Feb 1, 2022
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