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

有结合dio使用的例子吗 #15

Open
RedSevenMale opened this issue Dec 7, 2018 · 2 comments
Open

有结合dio使用的例子吗 #15

RedSevenMale opened this issue Dec 7, 2018 · 2 comments

Comments

@RedSevenMale
Copy link

RedSevenMale commented Dec 7, 2018

No description provided.

@debuggerx01
Copy link
Owner

和用不用dio没什么关系吧?
输入是json对象或者json字符串就行,来源都没差。。

@palorotolo
Copy link

palorotolo commented Apr 15, 2019

var param = DeviceIdParam.fromParams(device_id: "DS001924");
var response = await _getDio().post("v1/cabinet/GetDeviceType",
data: param.toString());
Fluttertoast.showToast(msg: response.data.toString());

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

3 participants