Browse Source

更新极光推送通知

Yangzw 2 months ago
parent
commit
1448b7b6a6

+ 1 - 1
feifan-module-mall/feifan-module-trade-biz/src/main/java/cn/newfeifan/mall/module/trade/service/aftersale/AfterSaleServiceImpl.java

@@ -359,7 +359,7 @@ public class AfterSaleServiceImpl implements AfterSaleService {
             }
             List<String> userRsgIds = memberUserService.getUserRsgIds(adminUser, null);
             if (userRsgIds != null && !userRsgIds.isEmpty()) {
-                String url = jPushUtils.getUrl(title, afterSale.getUserId(), afterSale.getId());
+                String url = jPushUtils.getUrl(title, afterSale.getId(), adminUser);
                 RequestBody requestBody = jPushUtils.getRequestBody(userRsgIds, alert, title, url);
                 jPushUtils.jPush(requestBody, afterSale.getUserId(), adminUser, afterSale.getId());
             }

+ 1 - 1
feifan-module-mall/feifan-module-trade-biz/src/main/java/cn/newfeifan/mall/module/trade/service/order/TradeOrderUpdateServiceImpl.java

@@ -1778,7 +1778,7 @@ public class TradeOrderUpdateServiceImpl implements TradeOrderUpdateService {
             }
             List<String> userRsgIds = memberUserService.getUserRsgIds(adminUser, null);
             if (userRsgIds != null && !userRsgIds.isEmpty()) {
-                String url = jPushUtils.getUrl(title, order.getUserId(), order.getId());
+                String url = jPushUtils.getUrl(title, order.getId(), adminUser);
                 RequestBody requestBody = jPushUtils.getRequestBody(userRsgIds, alert, title, url);
                 jPushUtils.jPush(requestBody, order.getUserId(), adminUser, order.getId());
             }