Commit 5bde57965885b6cd5d812bca6f1853932acd45bb
1 parent
219461aed9
Exists in
master
and in
6 other branches
update
Showing 3 changed files with 3 additions and 18 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/HttpClientUtil.java
View file @
5bde579
... | ... | @@ -301,14 +301,7 @@ |
301 | 301 | |
302 | 302 | public static void main(String[] args) throws Exception { |
303 | 303 | |
304 | - Map<String,String> map = new HashMap<String, String>(); | |
305 | -// map.put("categoryId","1"); | |
306 | -// map.put("page","1"); | |
307 | -// map.put("limit","1000"); | |
308 | -// map.put("nutritionId",nutritionId); | |
309 | -// map.put("title", title); | |
310 | - String s = HttpClientUtil.doGet("http://ams.api.stage.healthbaby.com.cn/v1/getPlatfromCategoryFoods", map, "utf-8", "3d19960bf3e81e7d816c4f26051c49ba"); | |
311 | - System.out.println(s ); | |
304 | + | |
312 | 305 | } |
313 | 306 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
5bde579
... | ... | @@ -3344,7 +3344,7 @@ |
3344 | 3344 | config.put("title", organization.getName()); |
3345 | 3345 | list.add(config); |
3346 | 3346 | } |
3347 | - String str = HttpClientUtil.doPostSSL("https://dev-app-member-api.healthbaby.com.cn/v1/setOrgAreaUrlConfig",list); | |
3347 | + String str = HttpClientUtil.doPostSSL("http://localhost:8082/v1/setOrgAreaUrlConfig", JsonUtil.obj2Str(list)); | |
3348 | 3348 | return str; |
3349 | 3349 | } |
3350 | 3350 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/HttpClientUtil.java
View file @
5bde579
... | ... | @@ -220,15 +220,7 @@ |
220 | 220 | |
221 | 221 | public static void main(String[] args) |
222 | 222 | { |
223 | - String json = HttpClientUtil.doPost("https://area-qhd-api.healthbaby.com.cn:18019/findSyncData", new HashMap<String, String>(), "utf-8"); | |
224 | - String s = null; | |
225 | - try { | |
226 | - SyncMysqlDataModel mysqlDataModel = JsonUtil.str2Obj(json, SyncMysqlDataModel.class); | |
227 | - s = LymsEncodeUtil.aesDecrypt(mysqlDataModel.getSql(), "Lymsh@2016"); | |
228 | - } catch (Exception e) { | |
229 | - e.printStackTrace(); | |
230 | - } | |
231 | - System.out.print(s); | |
223 | + | |
232 | 224 | } |
233 | 225 | |
234 | 226 | } |