kazelee
2025-05-27 49efcc39ef399f8f3b170f6b06ffc2177643f1b2
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}' 不合法:应为 '空托盘' 或 '空好运箱'");
            }
        }