Commit 0c7388759d22dcb76cc807c42e80f5d75b2afeb1
1 parent
a81d7a78
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_rs/directive/DirectiveRestService.java
| @@ -39,7 +39,7 @@ public class DirectiveRestService { | @@ -39,7 +39,7 @@ public class DirectiveRestService { | ||
| 39 | @Path("/send") | 39 | @Path("/send") |
| 40 | public int send(@RequestBody Map<String, Object> map){ | 40 | public int send(@RequestBody Map<String, Object> map){ |
| 41 | try{ | 41 | try{ |
| 42 | - map.put("sender", map.get("接口")); | 42 | + map.put("sender", map.get("接口@系统")); |
| 43 | StringBuilder sb = HttpClientUtils.post(url , JSON.toJSONString(map)); | 43 | StringBuilder sb = HttpClientUtils.post(url , JSON.toJSONString(map)); |
| 44 | return Integer.parseInt(sb.toString()); | 44 | return Integer.parseInt(sb.toString()); |
| 45 | }catch (Exception e){ | 45 | }catch (Exception e){ |