1、开放api权限,admin模块权限设置后续会更新

2、修复优惠券领取时间不限制导致不显示的bug
3、更新了一些config配置数据
This commit is contained in:
张乐
2020-09-02 11:42:10 +08:00
parent 076b7597cb
commit ca17b3c4c6
8 changed files with 39 additions and 33 deletions

View File

@@ -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;