Commit be5e78bcee535468fbccf02f41bc3cab8d1163cf
1 parent
0d2deb4c3c
Exists in
master
and in
6 other branches
update code
Showing 5 changed files with 9 additions and 7 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/ConfigTask.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MessageCenterService.java
- platform-operate-api/src/main/resources/config.properties
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
be5e78b
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
be5e78b
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/ConfigTask.java
View file @
be5e78b
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MessageCenterService.java
View file @
be5e78b
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | public static boolean updateMsgStatus(List<Config> configs,String hid) |
| 51 | 51 | { |
| 52 | 52 | String json = JsonUtil.array2JsonString(configs); |
| 53 | - String result = HttpClientUtil.doPostSSL("https://push.stage.platform.healthbaby.com.cn/biz-push-web/push/" + hid, json); | |
| 53 | + String result = HttpClientUtil.doPostSSL(CENTER_BASE_URL+"/biz-push-web/push/" + hid, json); | |
| 54 | 54 | if (StringUtils.isNotEmpty(result)) |
| 55 | 55 | { |
| 56 | 56 | Map<String,String> map = JsonUtil.str2Obj(result, Map.class); |
| ... | ... | @@ -105,7 +105,7 @@ |
| 105 | 105 | String json = ""; |
| 106 | 106 | try{ |
| 107 | 107 | json = JsonUtil.obj2Str(list); |
| 108 | - String result = HttpRequest.sendPost(CENTER_BASE_URL+"saveCreatedSMS", json, CENTER_TOKEN); | |
| 108 | + String result = HttpRequest.sendPost(CENTER_BASE_URL+"/biz-push-web/push", json, CENTER_TOKEN); | |
| 109 | 109 | if (StringUtils.isNotEmpty(result)) |
| 110 | 110 | { |
| 111 | 111 | Map<String,Integer> map = JsonUtil.str2Obj(result, Map.class); |
| ... | ... | @@ -210,7 +210,7 @@ |
| 210 | 210 | param.put("actualTimeStart",actualTimeStart); |
| 211 | 211 | param.put("actualTimeEnd",actualTimeEnd); |
| 212 | 212 | param.put("objType",objType == null ? null : String.valueOf(objType)); |
| 213 | - String result = HttpClientUtil.doGet("https://push.stage.platform.healthbaby.com.cn/biz-push-web/push", param, "utf-8", null); | |
| 213 | + String result = HttpClientUtil.doGet(CENTER_BASE_URL+"/biz-push-web/push", param, "utf-8", null); | |
| 214 | 214 | if (result != null) |
| 215 | 215 | { |
| 216 | 216 | MsgResult map = JsonUtil.str2Obj(result, MsgResult.class); |
platform-operate-api/src/main/resources/config.properties
View file @
be5e78b