Browse Source

send im msg

kk 3 months ago
parent
commit
621ea56217

+ 10 - 0
game-business/src/main/java/com/game/business/util/im/TencentCloudImUtil.java

@@ -548,4 +548,14 @@ public class TencentCloudImUtil {
         }
         return null;
     }
+
+//    public static void main(String[] args) {
+//        JSONObject paramJson = new JSONObject();
+//        paramJson.put("type", "UserSystemNotify");
+//        paramJson.put("subType", "UserRefreshBalance");
+//        paramJson.put("content", JSONObject.parseObject("{'msg':'刷新余额'}"));
+//        List<String> userIdList = new ArrayList<>();
+//        userIdList.add("10133");
+//        TencentCloudImUtil.imPushBatchSendMsg(userIdList, paramJson.toString());
+//    }
 }