Skip to content

Commit

Permalink
优化boot版本代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdhappy committed Oct 25, 2017
1 parent c2ba63b commit 1e1de0d
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,4 @@ private Object validateParams(JSONObject params, JSONObject payContext) {
return payOrder;
}

String getJsonParam(String[] names, Object[] values) {
JSONObject jsonParam = new JSONObject();
for (int i = 0; i < names.length; i++) {
jsonParam.put(names[i], values[i]);
}
return jsonParam.toJSONString();
}

String getJsonParam(String name, Object value) {
JSONObject jsonParam = new JSONObject();
jsonParam.put(name, value);
return jsonParam.toJSONString();
}

}

0 comments on commit 1e1de0d

Please sign in to comment.