namespace OASystem.API.OAMethodLib.APNsLib { public static class APNsLib { private static readonly IAPNsService _APNsService = AutofacIocManager.Instance.GetService(); public static async Task pushMsg(string apnsTopic, string deviceToken, NotificationType type, string title, string subtitle, string body) { Result rst = await _APNsService.PushNotification(apnsTopic, deviceToken, type, title, subtitle, body); return rst; } } }