Browse Source

提交

master
mahao 2 years ago
parent
commit
ffddca8cf8
  1. 6
      src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

6
src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

@ -234,6 +234,12 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService
} }
await CurrentUnitOfWork.SaveChangesAsync(); await CurrentUnitOfWork.SaveChangesAsync();
} }
catch (UserFriendlyException ex)
{
bErr = true;
result.TYPE = 'E';
result.MESSAGE = ex.GetBaseException().Message;
}
catch (Exception ex) catch (Exception ex)
{ {
bErr = true; bErr = true;

Loading…
Cancel
Save