Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
QA
qa-api
Commits
4fd1a387
Commit
4fd1a387
authored
Dec 17, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邮件抄送
parent
3a9c726b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
proconfig.js
app/controller/proconfig.js
+3
-2
sendMail.js
app/utils/sendMail.js
+0
-1
No files found.
app/controller/proconfig.js
View file @
4fd1a387
...
...
@@ -73,8 +73,9 @@ const save = async function (ctx) {
data
[
prop
]
=
data
[
prop
].
trim
()
}
}
data
.
database
=
data
.
database
.
split
(
/ +/
).
join
(
'
'
)
if
(
data
.
database
)
{
data
.
database
=
data
.
database
.
split
(
/ +/
).
join
(
'
'
)
}
await
ProConfig
.
saveProject
(
data
)
ctx
.
body
=
ctx
.
ok
()
}
...
...
app/utils/sendMail.js
View file @
4fd1a387
...
...
@@ -26,7 +26,6 @@ module.exports = async function (recipient, subject, html) {
const
info
=
await
transporter
.
sendMail
({
from
:
config
.
email
.
user
,
to
:
recipient
,
bcc
:
'
yong.zhi@quantgroup.cn
'
,
subject
,
html
,
})
...
...
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