用个推做透传消息推送的时候如果目标不定量
是不是每次都要
Target target1 = new Target(); new 一个呢?
demo中:
Target target1 = new Target();
Target target2 = new Target();
target1.setAppId(appId);
target1.setClientId(CID1);
target2.setAppId(appId);
target2.setClientId(CID2);
targets.add(target1);
targets.add(target2);
当我有N个需要推送的用户是 我需要new N次吗?