|
@ -11532,6 +11532,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
logger.info("appKey"+appKey+"======"+"masterSecret"+masterSecret);
|
|
|
logger.info("addExtra++++"+extras.toString());
|
|
|
JPushClient jPushClient = new JPushClient(masterSecret, appKey, null, ClientConfig.getInstance());
|
|
|
|
|
|
PushPayload payload = PushPayload.newBuilder()
|
|
|
.setPlatform(Platform.all())
|
|
|
.setAudience(Audience.newBuilder()
|
|
@ -11560,6 +11561,9 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
.build())
|
|
|
.build())
|
|
|
.build();
|
|
|
if (extras.get("outpatientId")!=null){
|
|
|
|
|
|
}
|
|
|
try {
|
|
|
PushResult result = jPushClient.sendPush(payload);
|
|
|
logger.info("极光推送返回日志==="+result);
|