修复bug
This commit is contained in:
@@ -60,7 +60,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
if (Convert.ToInt32(resData["code"]) != 0)
|
||||
{
|
||||
_logger.LogInformation($"聚水潭获取仓库失败:{resData["msg"].ToString()}");
|
||||
return Result<List<JuShuiTanInventoryResponse>>.ReFailure(ResultCodes.JuShuiTanDataError);
|
||||
return Result<List<JuShuiTanStockResponse>>.ReFailure(ResultCodes.JuShuiTanDataError);
|
||||
}
|
||||
string json = resData["data"]["datas"].ToString();
|
||||
var datas = JsonConvert.DeserializeObject<List<JuShuiTanStockResponse>>(json);
|
||||
@@ -76,7 +76,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
if (Convert.ToInt32(resData["code"]) != 0)
|
||||
{
|
||||
_logger.LogInformation($"聚水潭获取仓库失败:{resData["msg"].ToString()}");
|
||||
return Result<List<JuShuiTanInventoryResponse>>.ReFailure(ResultCodes.JuShuiTanDataError);
|
||||
return Result<List<JuShuiTanStockResponse>>.ReFailure(ResultCodes.JuShuiTanDataError);
|
||||
}
|
||||
json = resData["data"]["datas"].ToString();
|
||||
datas = JsonConvert.DeserializeObject<List<JuShuiTanStockResponse>>(json);
|
||||
|
||||
Reference in New Issue
Block a user