|
@@ -118,7 +118,6 @@ public class WxApiService {
|
|
|
"<sign>" + createOrderSign + "</sign>" +
|
|
|
"</xml>";
|
|
|
String url = "https://api.mch.weixin.qq.com/pay/unifiedorder";
|
|
|
-
|
|
|
RestTemplate restTemplate = new RestTemplate();
|
|
|
List<HttpMessageConverter<?>> list = restTemplate.getMessageConverters();
|
|
|
for (HttpMessageConverter<?> httpMessageConverter : list) {
|
|
@@ -225,7 +224,7 @@ public class WxApiService {
|
|
|
cny.put("currency", "CNY");
|
|
|
body.put("amount", cny);
|
|
|
String reqdata = JSONObject.toJSONString(body);
|
|
|
- log.info("请求微信支付二维码:{}", reqdata);
|
|
|
+ log.info("请求门诊指引单二维码:{}", reqdata);
|
|
|
HttpPost httpPost = new HttpPost("https://api.mch.weixin.qq.com/v3/pay/transactions/native");
|
|
|
StringEntity entity = new StringEntity(reqdata, StandardCharsets.UTF_8);
|
|
|
entity.setContentEncoding("UTF-8");
|