Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
b33d15a7
Commit
b33d15a7
authored
May 01, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upadte codes
parent
35e393f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
send_email.sh
lib/java/bi-report-service/service-client/shs/send_email.sh
+2
-2
BiReportEndpoint.java
...m/gmei/data/gateway/server/endpoint/BiReportEndpoint.java
+2
-2
No files found.
lib/java/bi-report-service/service-client/shs/send_email.sh
View file @
b33d15a7
#!/usr/bin/env bash
#!/usr/bin/env bash
curl
-X
GET http://localhost:8553/api/report/sendEmail/zhaojianwei@igengmei.com/jianweizhao@yeah.net/demo/test
curl
-X
GET http://localhost:8553/api/report/sendEmail/zhaojianwei@igengmei.com/jianweizhao@yeah.net/demo
\ No newline at end of file
\ No newline at end of file
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/endpoint/BiReportEndpoint.java
View file @
b33d15a7
...
@@ -18,8 +18,8 @@ public class BiReportEndpoint {
...
@@ -18,8 +18,8 @@ public class BiReportEndpoint {
}
}
@ResponseBody
@ResponseBody
@RequestMapping
(
value
=
"/sendEmail
Extend
/{to}/{cc}/{name}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/sendEmail/{to}/{cc}/{name}"
,
method
=
RequestMethod
.
GET
)
public
int
sendEmail
Extend
(
@PathVariable
(
"to"
)
String
to
,
@PathVariable
(
"cc"
)
String
cc
,
@PathVariable
(
"name"
)
String
name
){
public
int
sendEmail
(
@PathVariable
(
"to"
)
String
to
,
@PathVariable
(
"cc"
)
String
cc
,
@PathVariable
(
"name"
)
String
name
){
return
biReportService
.
sendEmail
(
to
,
cc
,
name
);
return
biReportService
.
sendEmail
(
to
,
cc
,
name
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment