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
haoban3.0
haoban-manage3.0
Commits
d75a6ed8
Commit
d75a6ed8
authored
Mar 04, 2024
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成素材外链跳转地址
parent
6ef53cc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
5 deletions
+43
-5
ClerkMaterialShareController.java
.../web/controller/content/ClerkMaterialShareController.java
+8
-5
ContentLinkShareQO.java
...aoban/manage/web/qo/content/share/ContentLinkShareQO.java
+35
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ClerkMaterialShareController.java
View file @
d75a6ed8
...
...
@@ -16,6 +16,7 @@ import com.gic.haoban.manage.api.enums.content.ShareBizType;
import
com.gic.haoban.manage.api.service.content.MaterialShareLogApiService
;
import
com.gic.haoban.manage.web.qo.content.ContentMaterialBaseQO
;
import
com.gic.haoban.manage.web.qo.content.log.MaterialShareLogQO
;
import
com.gic.haoban.manage.web.qo.content.share.ContentLinkShareQO
;
import
com.gic.haoban.manage.web.vo.content.ContentMaterialInfoVO
;
import
com.gic.haoban.manage.web.vo.content.SimpleGoodsInfoVO
;
import
com.gic.haoban.manage.web.vo.content.share.ContentMaterialLandingPageVO
;
...
...
@@ -128,12 +129,14 @@ public class ClerkMaterialShareController {
* @return
*/
@RequestMapping
(
path
=
"/clerk/share-material-link"
,
method
=
RequestMethod
.
POST
)
public
RestResponse
<
MaterialLinkDTO
>
clerkShareMaterialLink
(
@RequestBody
Content
MaterialBaseQO
materialBas
eQO
)
{
public
RestResponse
<
MaterialLinkDTO
>
clerkShareMaterialLink
(
@RequestBody
Content
LinkShareQO
linkShar
eQO
)
{
MaterialLinkShareQDTO
linkShareQDTO
=
new
MaterialLinkShareQDTO
();
linkShareQDTO
.
setClerkId
(
materialBaseQO
.
getClerkId
());
linkShareQDTO
.
setStoreId
(
materialBaseQO
.
getStoreId
());
linkShareQDTO
.
setContentMaterialId
(
materialBaseQO
.
getContentMaterialId
());
linkShareQDTO
.
setEnterpriseId
(
materialBaseQO
.
getEnterpriseId
());
linkShareQDTO
.
setClerkId
(
linkShareQO
.
getClerkId
());
linkShareQDTO
.
setStoreId
(
linkShareQO
.
getStoreId
());
linkShareQDTO
.
setContentMaterialId
(
linkShareQO
.
getContentMaterialId
());
linkShareQDTO
.
setEnterpriseId
(
linkShareQO
.
getEnterpriseId
());
linkShareQDTO
.
setClerkType
(
linkShareQO
.
getClerkType
());
linkShareQDTO
.
setChannelSource
(
linkShareQO
.
getChannelSource
());
ServiceResponse
<
MaterialLinkDTO
>
response
=
contentMaterialShareApiService
.
generateLink
(
linkShareQDTO
);
if
(!
response
.
isSuccess
())
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/share/ContentLinkShareQO.java
0 → 100644
View file @
d75a6ed8
package
com
.
gic
.
haoban
.
manage
.
web
.
qo
.
content
.
share
;
import
com.gic.haoban.manage.web.qo.content.ContentMaterialBaseQO
;
/**
* Created by wangzubo on 2024/3/4.
*/
public
class
ContentLinkShareQO
extends
ContentMaterialBaseQO
{
/**
* 导购类型 2区经督导 其他导购
*/
private
Integer
clerkType
;
/**
* 渠道来源 1朋友圈2客户群3对话框 其他
*/
private
Integer
channelSource
;
public
Integer
getClerkType
()
{
return
clerkType
;
}
public
void
setClerkType
(
Integer
clerkType
)
{
this
.
clerkType
=
clerkType
;
}
public
Integer
getChannelSource
()
{
return
channelSource
;
}
public
void
setChannelSource
(
Integer
channelSource
)
{
this
.
channelSource
=
channelSource
;
}
}
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