|
|
|
@ -2155,16 +2155,24 @@ namespace Myshipping.Application
|
|
|
|
|
//生成提箱小票
|
|
|
|
|
var allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "txxp_carrier_list").Select(x => x.Code).ToList();
|
|
|
|
|
if (allowCarrier.Contains(order.CARRIERID))
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
var txxpLink = await TxxpLink(input.BookingId);
|
|
|
|
|
}
|
|
|
|
|
catch { }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//vgm链接
|
|
|
|
|
allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "vgm_carrier_list").Select(x => x.Code).ToList();
|
|
|
|
|
if (allowCarrier.Contains(order.CARRIERID))
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
await VgmLink(input.BookingId);
|
|
|
|
|
}
|
|
|
|
|
catch { }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
await SendLetterYard(input.BookingId);
|
|
|
|
|
return rtnId;
|
|
|
|
|