fix 修复请求地址

This commit is contained in:
2025-09-15 16:14:34 +08:00
parent 0e00873502
commit f532adc2ab

View File

@@ -256,7 +256,7 @@ public class AppointmentService : IAppointmentService
.Distinct().Join(",")
: string.Empty // 门岗名称
}.ToJson();
var response = await httpClient.PostAsync("https://pay.aizhuhotel.com/jschuneng", new StringContent(json, Encoding.UTF8, "application/json"));
var response = await httpClient.PostAsync("https://pay.aizhuhotel.com/jschuneng/api/guest/GainfoReserveAdd", new StringContent(json, Encoding.UTF8, "application/json"));
var responseJson = await response.Content.ReadAsStringAsync();
_logger.LogInformation("发送到501访客预约{idNo}--{name},发送:{json} ,返回:{responseJson}", dto.IdNo, dto.Name, json, responseJson);