Răsfoiți Sursa

1.修改uni推送链接

qmj 2 săptămâni în urmă
părinte
comite
7164242b01

+ 3 - 3
ruoyi-admin/src/main/java/com/ruoyi/app/utils/PayPush.java

@@ -6,7 +6,7 @@ public class PayPush {
     //用户端推送
     public void apppush(String cid,String title, String content, String body){
         System.out.println("用户端推送cid:"+cid);
-        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/push?cid="+cid+
+        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msduser?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body;
         String res="";
 //        res = HttpUtil.get(url);
@@ -15,7 +15,7 @@ public class PayPush {
     }
     //骑手端推送
     public void qspush(String cid,String title, String content, String body){
-        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdqspush?cid="+cid+
+        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdrider?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body+"&sound=pushsound.caf";
         String res="";
 //        res = HttpUtil.get(url);
@@ -25,7 +25,7 @@ public class PayPush {
     //商家端推送
     public void shpush(String cid,String title, String content, String body){
         System.out.println("商家cid:"+cid);
-        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdsjpush?cid="+cid+
+        String url = "https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/msdstore?cid="+cid+
                 "&title="+title+"&content="+content+"&payload="+body;
         String res="";
 //        res = HttpUtil.get(url);