fix 调整餐补入库逻辑

This commit is contained in:
2024-03-23 19:05:42 +08:00
parent aa0fca2c09
commit 8267fad393
2 changed files with 13 additions and 7 deletions

View File

@@ -68,6 +68,8 @@ public class JinkoJIPService : IJinkoJIPService
var response = await GetHttpClient().PostAsync(requestUrl, content);
var responseJson = await response.Content.ReadAsStringAsync();
_logger.LogInformation("餐补状态同步响应:{json}", responseJson);
var jobj = JObject.Parse(responseJson);
jobj.ContainsKey("exp").ThrowIfTrue(jobj.GetValue("exp").Value<string>());