fix[用户模块]:配置文件优化

This commit is contained in:
2024-12-24 16:32:23 +08:00
parent 9dc575a312
commit d097180549
890 changed files with 9 additions and 84874 deletions
@@ -105,7 +105,7 @@ public class TencentAuthenticationProvider extends BaseAuthenticationProvider {
HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity<>(params, headers);
ResponseEntity<String> responseEntity = restTemplate.exchange("https://api.weixin.qq.com/sns/jscode2session", HttpMethod.POST, requestEntity, String.class);
ResponseEntity<String> responseEntity = restTemplate.exchange(securityProperties.getTencent().getJscode2sessionUrl(), HttpMethod.POST, requestEntity, String.class);
if (responseEntity.getStatusCode().is2xxSuccessful() && responseEntity.getBody().contains("openid")) {
ObjectMapper objectMapper = new ObjectMapper();