Commit bd2a007ee18e815dc3102801c07291503f164494
1 parent
9226baaafb
Exists in
master
and in
6 other branches
add
Showing 2 changed files with 4 additions and 22 deletions
platform-job-index/pom.xml
View file @
bd2a007
| ... | ... | @@ -150,16 +150,6 @@ |
| 150 | 150 | <artifactId>platform-biz-patient-service</artifactId> |
| 151 | 151 | <version>${project.version}</version> |
| 152 | 152 | </dependency> |
| 153 | - <dependency> | |
| 154 | - <groupId>com.lyms.pushcenter</groupId> | |
| 155 | - <artifactId>biz-push-sdk</artifactId> | |
| 156 | - <version>1.0-SNAPSHOT</version> | |
| 157 | - </dependency> | |
| 158 | - <dependency> | |
| 159 | - <groupId>com.lyms.pushcenter</groupId> | |
| 160 | - <artifactId>biz-push-core</artifactId> | |
| 161 | - <version>1.0-SNAPSHOT</version> | |
| 162 | - </dependency> | |
| 163 | 153 | </dependencies> |
| 164 | 154 | <build> |
| 165 | 155 | <resources> |
platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java
View file @
bd2a007
| ... | ... | @@ -1332,18 +1332,10 @@ |
| 1332 | 1332 | patientsQuery.setYn(YnEnums.YES.getId()); |
| 1333 | 1333 | int count = patientsService.queryPatientsCount(patientsQuery); |
| 1334 | 1334 | if (CollectionUtils.isNotEmpty(members) && count == 0 &&StringUtils.isNotEmpty(members.get(0).getGzOpenId())) { |
| 1335 | - Map map =new HashMap(); | |
| 1336 | - map.put("first","幼儿保健登录认证通知"); | |
| 1337 | - map.put("keyword1","家长朋友您好!根据您登录情况,我院已为您的宝宝建立儿童健康档案,请重新验证登录。\n"); | |
| 1338 | - map.put("keyword2","请您点击幼儿保健小程序头像退出登录后重新登录(建档姓名和手机号须与医院建档时一致),以便查看儿童健康档案,获得更多针对您宝宝的精准医疗服务。\n"); | |
| 1339 | - map.put("remark","祝您的宝宝健康成长。"); | |
| 1340 | - WeiXinPushRequest pushRequest = RequestBuilder.newInstance().createReuquest(). | |
| 1341 | - setTouser(members.get(0).getGzOpenId()). | |
| 1342 | - setTemplate_id(WeiXinPushTempConstants.BABY_CONFIRM_PUSH_TEMP_ID.getPushTempId()). | |
| 1343 | - setUrl("http://m.healthbaby.com.cn/download/wechatup.html"). | |
| 1344 | - setData(WeiXinPushTempConstants.WELCOME_PUSH_TEMP_ID.getiConvert().buildMap(map)). | |
| 1345 | - setMiniprogram(WeiXinUtils.getWxUrlParam(members.get(0).getGzOpenId(), WechatAppletEnums.BABY)); | |
| 1346 | - HttpClientUtil.doPostSSL("https://push.stage.platform.healthbaby.com.cn/biz-push-web/direct/push",pushRequest.convertToJsonMsg()); | |
| 1335 | + String gzopendId= members.get(0).getGzOpenId(); | |
| 1336 | + Map params=new HashMap(); | |
| 1337 | + params.put("gzopenId",gzopendId); | |
| 1338 | + HttpClientUtil.doGet("https://push.stage.platform.healthbaby.com.cn/biz-push-web/direct/push",params,"UTF8","3d19960bf3e81e7d816c4f26051c49ba"); | |
| 1347 | 1339 | } |
| 1348 | 1340 | } |
| 1349 | 1341 |