Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QianQiXiang
haoban-manage3.0
Commits
124c442a
Commit
124c442a
authored
May 18, 2021
by
bilingfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix : 销售线索群发任务, 创建企业群发接口修改
parent
0f18d07e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+9
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
124c442a
...
@@ -1139,28 +1139,32 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1139,28 +1139,32 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
//素材对象
//素材对象
QywxMessageMaterialDTO
dto
=
new
QywxMessageMaterialDTO
();
QywxMessageMaterialDTO
dto
=
new
QywxMessageMaterialDTO
();
if
(
materialType
==
2
||
materialType
==
5
)
{
if
(
materialType
==
2
||
materialType
==
5
)
{
dto
.
setMsgType
(
"image"
);
QywxImageMaterialDTO
imageMaterialDTO
=
new
QywxImageMaterialDTO
();
QywxImageMaterialDTO
imageMaterialDTO
=
new
QywxImageMaterialDTO
();
imageMaterialDTO
.
setMediaId
(
maerialId
);
imageMaterialDTO
.
setMediaId
(
maerialId
);
dto
.
setMsgType
(
"image"
);
dto
.
setImage
(
imageMaterialDTO
);
}
else
if
(
materialType
==
3
)
{
}
else
if
(
materialType
==
3
)
{
dto
.
setMsgType
(
"link"
);
QywxLinkMaterialDTO
linkMaterialDTO
=
new
QywxLinkMaterialDTO
();
QywxLinkMaterialDTO
linkMaterialDTO
=
new
QywxLinkMaterialDTO
();
linkMaterialDTO
.
setTitle
(
material
.
getMaterialTitle
());
linkMaterialDTO
.
setTitle
(
material
.
getMaterialTitle
());
linkMaterialDTO
.
setPicurl
(
material
.
getWxImgUrl
());
linkMaterialDTO
.
setPicurl
(
material
.
getWxImgUrl
());
linkMaterialDTO
.
setDesc
(
material
.
getMaterialDesc
());
linkMaterialDTO
.
setDesc
(
material
.
getMaterialDesc
());
linkMaterialDTO
.
setUrl
(
material
.
getLink
());
linkMaterialDTO
.
setUrl
(
material
.
getLink
());
dto
.
setMsgType
(
"link"
);
dto
.
setLink
(
linkMaterialDTO
);
}
else
if
(
materialType
==
4
)
{
}
else
if
(
materialType
==
4
)
{
QywxVideoMaterialDTO
videoMaterialDTO
=
new
QywxVideoMaterialDTO
();
videoMaterialDTO
.
setMediaId
(
maerialId
);
dto
.
setMsgType
(
"video"
);
dto
.
setMsgType
(
"video"
);
QywxImageMaterialDTO
imageMaterialDTO
=
new
QywxImageMaterialDTO
();
dto
.
setVideo
(
videoMaterialDTO
);
imageMaterialDTO
.
setMediaId
(
maerialId
);
}
else
if
(
materialType
==
6
)
{
}
else
if
(
materialType
==
6
)
{
dto
.
setMsgType
(
"miniprogram"
);
QywxMiniprogramMaterialDTO
miniprogramMaterialDTO
=
new
QywxMiniprogramMaterialDTO
();
QywxMiniprogramMaterialDTO
miniprogramMaterialDTO
=
new
QywxMiniprogramMaterialDTO
();
miniprogramMaterialDTO
.
setTitle
(
material
.
getMaterialTitle
());
miniprogramMaterialDTO
.
setTitle
(
material
.
getMaterialTitle
());
//todo : 字段赋值
//todo : 字段赋值
miniprogramMaterialDTO
.
setPicMediaId
(
maerialId
);
miniprogramMaterialDTO
.
setPicMediaId
(
maerialId
);
miniprogramMaterialDTO
.
setAppid
(
""
);
miniprogramMaterialDTO
.
setAppid
(
""
);
miniprogramMaterialDTO
.
setPage
(
""
);
miniprogramMaterialDTO
.
setPage
(
""
);
dto
.
setMsgType
(
"miniprogram"
);
dto
.
setMiniprogram
(
miniprogramMaterialDTO
);
}
}
return
dto
;
return
dto
;
}
}
...
...
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