|
@@ -5,7 +5,7 @@ using Aspose.Words.Layout;
|
|
|
using Aspose.Words.Saving;
|
|
|
using Microsoft.AspNetCore.SignalR;
|
|
|
using Microsoft.International.Converters.PinYinConverter;
|
|
|
-using OASystem.API.OAMethodLib.APNs;
|
|
|
+using OASystem.API.OAMethodLib.APNsLib;
|
|
|
using OASystem.API.OAMethodLib.File;
|
|
|
using OASystem.API.OAMethodLib.Hub.HubClients;
|
|
|
using OASystem.API.OAMethodLib.Hub.Hubs;
|
|
@@ -4450,7 +4450,7 @@ namespace OASystem.API.OAMethodLib
|
|
|
var rst = await _deviceTokenRep.Query(s => s.Number == Numbers).SingleAsync();
|
|
|
Result rst2 = new Result() { Code = -1, Msg = "" };
|
|
|
if (rst != null) {
|
|
|
- rst2 = await APNsLib.pushMsg("com.panamerican.oa2024", rst.DeviceToken, NotificationType.Alert, title, subtitle, body);
|
|
|
+ rst2 = await APNsLib.APNsLib.pushMsg("com.panamerican.oa2024", rst.DeviceToken, NotificationType.Alert, title, subtitle, body);
|
|
|
}
|
|
|
return rst2;
|
|
|
}
|