Commit 1ce7fb4d authored by 黄奎's avatar 黄奎

接口验证修改

parent 9533a6ea
...@@ -407,7 +407,7 @@ namespace Mall.WebApi.Controllers.TradePavilion ...@@ -407,7 +407,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
{ {
if (carrierModule.ValidateCarrierName(query.CarrierName, userInfo.MallBaseId)) if (carrierModule.ValidateCarrierName(query.CarrierName, userInfo.MallBaseId))
{ {
return ApiResult.Failed("该载体名称已存在,请选择绑定已有载体"); //return ApiResult.Failed("该载体名称已存在,请选择绑定已有载体");
} }
} }
...@@ -418,7 +418,7 @@ namespace Mall.WebApi.Controllers.TradePavilion ...@@ -418,7 +418,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
var carrmodel = carrierModule.GetCarrierModel(new RB_Carrier_Extend { ID = query.ExistCarrierId, TenantId = query.TenantId, MallBaseId = query.MallBaseId }); var carrmodel = carrierModule.GetCarrierModel(new RB_Carrier_Extend { ID = query.ExistCarrierId, TenantId = query.TenantId, MallBaseId = query.MallBaseId });
if (carrmodel.UserId > 0) if (carrmodel.UserId > 0)
{ {
return ApiResult.Failed("该载体已被其他用户认证,请核实后再试"); //return ApiResult.Failed("该载体已被其他用户认证,请核实后再试");
} }
} }
#endregion #endregion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment