|
@@ -14,6 +14,7 @@ using NPOI.SS.UserModel;
|
|
|
using NPOI.SS.Util;
|
|
|
using NPOI.XSSF.UserModel;
|
|
|
using OASystem.API.OAMethodLib;
|
|
|
+using OASystem.API.OAMethodLib.APNs;
|
|
|
using OASystem.API.OAMethodLib.File;
|
|
|
using OASystem.API.OAMethodLib.Hub.HubClients;
|
|
|
using OASystem.API.OAMethodLib.Hub.Hubs;
|
|
@@ -2767,7 +2768,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", $"机票费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", $"机票费用审核", "", content);
|
|
|
|
|
|
}
|
|
|
catch (Exception ex)
|
|
@@ -3659,7 +3660,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", $"其他款项费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", $"其他款项费用审核", "", content);
|
|
|
|
|
|
|
|
|
|
|
@@ -4264,7 +4265,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", $"商邀费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", $"商邀费用审核", "", content);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
@@ -7143,7 +7144,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", $"签证费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", $"签证费用审核", "", content);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
@@ -7516,7 +7517,7 @@ FROM
|
|
|
string content = $"[更新-OP费用录入填写详情({groupInfo?.TeamName ?? "-"})]一项费用:{(((ccpInfo.PayMoney * ccpInfo.DayRate) / 100) * ccpInfo.PayPercentage).ToString("#0.00")} CNY;";
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", "OP费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", "OP费用审核", "", content);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
@@ -11060,7 +11061,8 @@ ORDER by gctggrc.id DESC
|
|
|
|
|
|
try
|
|
|
{
|
|
|
- var iosRes = await GeneralMethod.iOS_PushNotifications("051", title, "", content);
|
|
|
+
|
|
|
+ var iosRes = await APNsTools.iOS_PushNotifications("051", title, "", content);
|
|
|
Logs($"【iOS推送通知Exception2】End Response:[{JsonConvert.SerializeObject(iosRes)}]");
|
|
|
}
|
|
|
catch (Exception ex )
|
|
@@ -13195,7 +13197,7 @@ ORDER by gctggrc.id DESC
|
|
|
else if (dto.Status == 2) content = $"[更新-保险费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
- await GeneralMethod.iOS_PushNotifications("051", $"保险费用审核", "", content);
|
|
|
+ await APNsTools.iOS_PushNotifications("051", $"保险费用审核", "", content);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|