Commit b33d15a7 authored by 赵建伟's avatar 赵建伟

upadte codes

parent 35e393f2
#!/usr/bin/env bash
curl -X GET http://localhost:8553/api/report/sendEmail/zhaojianwei@igengmei.com/jianweizhao@yeah.net/demo/test
\ No newline at end of file
curl -X GET http://localhost:8553/api/report/sendEmail/zhaojianwei@igengmei.com/jianweizhao@yeah.net/demo
\ No newline at end of file
......@@ -18,8 +18,8 @@ public class BiReportEndpoint {
}
@ResponseBody
@RequestMapping(value = "/sendEmailExtend/{to}/{cc}/{name}",method = RequestMethod.GET)
public int sendEmailExtend(@PathVariable("to") String to,@PathVariable("cc") String cc,@PathVariable("name") String name){
@RequestMapping(value = "/sendEmail/{to}/{cc}/{name}",method = RequestMethod.GET)
public int sendEmail(@PathVariable("to") String to,@PathVariable("cc") String cc,@PathVariable("name") String name){
return biReportService.sendEmail(to,cc,name);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment