From 61bbd595ee2bc3c67b40878894dcc07174c6eea6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 24 九月 2024 10:15:30 +0800 Subject: [PATCH] 玩湃微信商户分账 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopController.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopController.java index c7de4e1..27ded08 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopController.java @@ -117,25 +117,25 @@ return SUCCESS_TIP; } - public static void main(String[] args) { +// public static void main(String[] args) { +//// HashMap<String, String> map = new HashMap<>(); +//// map.put("page","1"); +//// map.put("space_id","2010"); +//// // 获取门禁列表 +//// String s1 = HttpRequestUtil.getRequest +//// ("https://port.daowepark.com/v7/user_api/general/getDevice", map); +//// System.err.println(s1); +// // HashMap<String, String> map = new HashMap<>(); -// map.put("page","1"); -// map.put("space_id","2010"); +// map.put("sign","0DB011836143EEE2C2E072967C9F4E4B"); +// map.put("space_id","1"); +// map.put("device_id","1"); +// map.put("region_id","2010"); // // 获取门禁列表 // String s1 = HttpRequestUtil.getRequest -// ("https://try.daowepark.com/v7/user_api/general/getDevice", map); +// ("https://port.daowepark.com/v7/user_api/general/getDevice", map); // System.err.println(s1); - - HashMap<String, String> map = new HashMap<>(); - map.put("sign","0DB011836143EEE2C2E072967C9F4E4B"); - map.put("space_id","1"); - map.put("device_id","1"); - map.put("region_id","2010"); - // 获取门禁列表 - String s1 = HttpRequestUtil.getRequest - ("https://try.daowepark.com/v7/user_api/general/getDevice", map); - System.err.println(s1); - }; +// }; /** * 跳转到车辆管理首页 */ @@ -583,7 +583,7 @@ map1.put("remark",tStore.getIntroduce()); map1.put("lat",tStore.getLat()); map1.put("lng",tStore.getLon()); - String result = HttpRequestUtil.postRequest("https://try.daowepark.com/v7/user_api/general/addSpace", map1); + String result = HttpRequestUtil.postRequest("https://port.daowepark.com/v7/user_api/general/addSpace", map1); System.out.println(result); JSONObject jsonObject = JSONObject.parseObject(result); JSONObject data = jsonObject.getJSONObject("data"); @@ -608,7 +608,7 @@ // mapSite.put("name",tStore.getName()); // mapSite.put("space_id",tStore.getId().toString()); // mapSite.put("area_id",tSite.getId().toString()); -// HttpRequestUtil.postRequest("https://try.daowepark.com/v7/user_api/general/addSpaceArea", mapSite); +// HttpRequestUtil.postRequest("https://port.daowepark.com/v7/user_api/general/addSpaceArea", mapSite); // for (String s : tStore.getIds().split(",")) { // HashMap<String, String> map = new HashMap<>(); // map.put("sign","0DB011836143EEE2C2E072967C9F4E4B"); @@ -616,7 +616,7 @@ // map.put("device_id",s); // map.put("region_id",tSite.getId().toString()); // // 添加门禁 -// String s1 = HttpRequestUtil.postRequest("https://try.daowepark.com/v7/user_api/general/addDevice", map); +// String s1 = HttpRequestUtil.postRequest("https://port.daowepark.com/v7/user_api/general/addDevice", map); // System.out.println(s1); // } return new SuccessTip<>(); -- Gitblit v1.7.1