1、开放api权限,admin模块权限设置后续会更新
2、修复优惠券领取时间不限制导致不显示的bug 3、更新了一些config配置数据
This commit is contained in:
@@ -122,7 +122,7 @@ public class RestTemplateUtil {
|
||||
|
||||
public String postFormData(String url, MultiValueMap<String, String> map) {
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.setContentType(MediaType.MULTIPART_FORM_DATA);
|
||||
// headers.setContentType(MediaType.MULTIPART_FORM_DATA);
|
||||
HttpEntity<MultiValueMap<String, String>> requests = new HttpEntity<MultiValueMap<String, String>>(map, headers);
|
||||
String body = restTemplate.postForEntity(url, requests, String.class).getBody();
|
||||
return body;
|
||||
|
||||
Reference in New Issue
Block a user