|
@@ -20,7 +20,7 @@ public class InterfaceConnUtils {
|
|
public static JSONArray doPost(JSONArray json, String url) {
|
|
public static JSONArray doPost(JSONArray json, String url) {
|
|
//定义测试返回JSON
|
|
//定义测试返回JSON
|
|
for (int i=0;i<json.size();i++){
|
|
for (int i=0;i<json.size();i++){
|
|
- JSONObject jsonObject=json.getJSONObject(0);
|
|
|
|
|
|
+ JSONObject jsonObject=json.getJSONObject(i);
|
|
jsonObject.put("ALLOWHANDWORK","1");//取自己设置的单据号
|
|
jsonObject.put("ALLOWHANDWORK","1");//取自己设置的单据号
|
|
}
|
|
}
|
|
JSONArray onejb = new JSONArray();
|
|
JSONArray onejb = new JSONArray();
|