Commit f1c4bcb374ce1b9411b095aa5c7916f3866d26d6

Authored by 潘钊
1 parent 5358bda8

update...

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", "接口@系统");
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){