Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
df3ef69c
Commit
df3ef69c
authored
Apr 18, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wts
parent
f77f3bc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
center-channel/app/base/service/impl/utilsSve/utilsTmAliyunSve.js
+24
-4
No files found.
center-channel/app/base/service/impl/utilsSve/utilsTmAliyunSve.js
View file @
df3ef69c
...
...
@@ -15,11 +15,31 @@ class UtilsTmAliyunService extends AppServiceBase {
if
(
!
ab
.
email
){
return
system
.
getResult
(
null
,
"邮箱地址不能为空"
);
}
if
(
!
ab
.
type
){
return
system
.
getResult
(
null
,
"邮件类型不能为空"
);
}
var
mailCilent
=
system
.
getObject
(
"util.mailClient"
);
var
sendRes
=
await
mailCilent
.
sendMsg
(
ab
.
email
,
"商标委托书"
,
"see"
,
"商标委托书"
,
null
,
null
,[
{
filename
:
'商标委托书'
,
path
:
'http://gsb-zc.oss-cn-beijing.aliyuncs.com/tmwtu2020041811188516gcjhvjwts.docx'
}
]);
return
system
.
getResultSuccess
(
sendRes
);
var
url
=
""
;
if
(
ab
.
type
==
"1"
){
var
sendRes
=
await
mailCilent
.
sendMsg
(
ab
.
email
,
"商标代理委托书"
,
"see"
,
"商标代理委托书"
,
null
,
null
,[
{
filename
:
'商标代理委托书'
,
path
:
'http://gsb-zc.oss-cn-beijing.aliyuncs.com/igirl_channel_tmwtsdemo001.doc'
}
]);
return
system
.
getResultSuccess
(
sendRes
);
}
else
if
(
ab
.
type
==
"2"
){
var
sendRes
=
await
mailCilent
.
sendMsg
(
ab
.
email
,
"阿里云商标代理委托书"
,
"see"
,
"阿里云商标代理委托书"
,
null
,
null
,[
{
filename
:
'阿里云商标代理委托书'
,
path
:
'http://gsb-zc.oss-cn-beijing.aliyuncs.com/tmwtu2020041811188516gcjhvjwts.docx'
}
]);
return
system
.
getResultSuccess
(
sendRes
);
}
else
if
(
ab
.
type
==
"3"
){
var
sendRes
=
await
mailCilent
.
sendMsg
(
ab
.
email
,
"阿里云声明文件"
,
"see"
,
"阿里云声明文件"
,
null
,
null
,[
{
filename
:
'阿里云声明文件'
,
path
:
'http://gsb-zc.oss-cn-beijing.aliyuncs.com/tm_smwj202004181626725onjdaliyun.doc'
}
]);
return
system
.
getResultSuccess
(
sendRes
);
}
else
{
return
system
.
getResult
(
null
,
"邮件类型错误"
);
}
}
async
tmCreateApplicant
(
pobj
)
{
//创建商标申请人信息
var
verifyResult
=
await
this
.
opAliyunRpcVerifyParam
(
pobj
);
...
...
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