booking_auth_dev
wanghaomei 2 years ago
commit d152e4e551

@ -0,0 +1,17 @@
using Furion.FriendlyException;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Enum
{
public enum BookingErrorCode
{ /// <summary>
/// 附件不存在
/// </summary>
[ErrorCodeItemMetadata("附件不存在")]
BOOK200,
}
}

@ -2511,6 +2511,11 @@
运踪id
</summary>
</member>
<member name="F:Myshipping.Application.Enum.BookingErrorCode.BOOK200">
<summary>
附件不存在
</summary>
</member>
<member name="T:Myshipping.Application.BookingCtnDetailDto">
<summary>
多品名输出参数

@ -35,6 +35,7 @@ using System.Text;
using System.Web;
using Newtonsoft.Json.Linq;
using Myshipping.Core.Helper;
using Myshipping.Application.Enum;
namespace Myshipping.Application
{
@ -474,7 +475,7 @@ namespace Myshipping.Application
//未上传打印模板文件
if (file == null || file.Length == 0)
{
throw Oops.Oh(ErrorCode.BOOK113);
throw Oops.Oh(BookingErrorCode.BOOK200);
}
var opt = App.GetOptions<BookingAttachOptions>();

@ -8,7 +8,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

Loading…
Cancel
Save