zhuyifan

print log

......@@ -82,6 +82,7 @@ public class WxMiniProgramHttpClient {
final var response = restTemplate.getForEntity(url, WxUserOpenIdDto.class);
return response.getBody();
} catch (Exception e) {
log.error("Error fetching user openid", e);
throw new IllegalArgumentException("获取用户openid失败");
}
}
......