api/MoboxController.cs
@@ -59,14 +59,14 @@ var apiName = "空托/空箱入库"; LogHelper.InfoApi(apiName, model); if (model.CntrType == "托盘") { if (model.CntrType == "空托盘") { return ApiHelper.EmptyInboundPallet(model); } else if (model.CntrType == "好运箱") { else if (model.CntrType == "空好运箱") { return ApiHelper.EmptyInboundGoodpack(model); } else { return NewSimpleResult(-1, $"容器类型 '{model.CntrType}' 不合法:应为 '托盘' 或 '好运箱'"); return NewSimpleResult(-1, $"容器类型 '{model.CntrType}' 不合法:应为 '空托盘' 或 '空好运箱'"); } }