Browse Source

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

LEIYI 1 month ago
parent
commit
b0a7879f60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OASystem/OASystem.Api/OAMethodLib/GeneralMethod.cs

+ 1 - 1
OASystem/OASystem.Api/OAMethodLib/GeneralMethod.cs

@@ -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;
         }