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

参数含有 json字符串时 #98

Open
ObliverSen opened this issue Dec 26, 2018 · 0 comments
Open

参数含有 json字符串时 #98

ObliverSen opened this issue Dec 26, 2018 · 0 comments

Comments

@ObliverSen
Copy link

    parameters.put("partNumber",mEtPartNum.getText().toString().trim());
    parameters.put("partNumber",mEtPartDrawingNum.getText().toString().trim());
    parameters.put("heaNumber",mEtFurnaceNum.getText().toString().trim());
    Map<String,String> map = new HashMap<>();
    map.put("empNo",et_operator.getText().toString().trim());
    String empNoJosn2 = JsonHelper.toJSON(map);
    Log.e("empNoJosn222","---->  "+empNoJosn2);
    parameters.put("operateUser",empNoJosn2);

请求之后 报400错误。 这个怎么设置支持json

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

1 participant