Commit b27b9a099e3fcb256ba88dc68f10b1e6960063fa
1 parent
6d136e85a4
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CouponController.java
View file @
b27b9a0
... | ... | @@ -114,7 +114,7 @@ |
114 | 114 | * @param personId |
115 | 115 | * @param couponTypes 要删除的类型 |
116 | 116 | */ |
117 | - @RequestMapping(method = RequestMethod.GET, value = "/invalid") | |
117 | + @RequestMapping(method = RequestMethod.POST, value = "/invalid") | |
118 | 118 | public void invalid(HttpServletRequest request,String personId, String couponTypes){ |
119 | 119 | LOG.info("invalid>>> personId: {}, couponTypes: {} ", personId, couponTypes); |
120 | 120 | couponService.invalid(personId, couponTypes); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/HttpClientUtil.java
View file @
b27b9a0
... | ... | @@ -181,7 +181,7 @@ |
181 | 181 | Map<String,String> params = new HashMap<String, String>(); |
182 | 182 | params.put("personId","ssss"); |
183 | 183 | params.put("couponTypes","bbb"); |
184 | - String s = doPost("https://dev-rp-api.healthbaby.com.cn/coupon/invalid",params , "utf-8"); | |
184 | + String s = doPostSSL("https://dev-rp-api.healthbaby.com.cn/coupon/invalid",params , "utf-8"); | |
185 | 185 | |
186 | 186 | System.out.print(s); |
187 | 187 | // List<SyncDataModel> list = JsonUtil.toList(s, SyncDataModel.class); |