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
fc91551a
Commit
fc91551a
authored
Nov 23, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息通知和附件
parent
237df35a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
NoticeMessageTypeEnum.java
...om/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
+2
-0
ContentMaterialInfoVO.java
...c/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
+28
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
View file @
fc91551a
...
@@ -82,6 +82,8 @@ public enum NoticeMessageTypeEnum {
...
@@ -82,6 +82,8 @@ public enum NoticeMessageTypeEnum {
MATERIAL_AUDIT_NOTIFY
(
6006
,
"素材审核通知"
,
NoticeMessageCategoryTypeEnum
.
MATERIAL
.
getType
(),
"material_audit_notify"
,
"/pages/route/index?pageType="
,
"hbapp_create_center"
,
"materialAuditNotify"
,
"haobanNotice"
),
MATERIAL_AUDIT_NOTIFY
(
6006
,
"素材审核通知"
,
NoticeMessageCategoryTypeEnum
.
MATERIAL
.
getType
(),
"material_audit_notify"
,
"/pages/route/index?pageType="
,
"hbapp_create_center"
,
"materialAuditNotify"
,
"haobanNotice"
),
KNOWLEDGE_NEW_NOTIFY
(
6007
,
"知识库上新通知"
,
NoticeMessageCategoryTypeEnum
.
MATERIAL
.
getType
(),
"knowledge_new_notify"
,
"/pages/route/index?pageType="
,
"hbapp_guide_knowledge"
,
"knowledgeNewNotify"
,
"clerkMaterialsNotice"
),
CASH_APPLY_REFUSE_NOTIFY
(
7001
,
"提现通知"
,
NoticeMessageCategoryTypeEnum
.
OTHER
.
getType
(),
"cash_apply_refuse_notify"
,
"/pages/route/index?pageType="
,
"hbapp_withdraw_list"
,
"cashApplyRefuseNotify"
,
"haobanNotice"
),
CASH_APPLY_REFUSE_NOTIFY
(
7001
,
"提现通知"
,
NoticeMessageCategoryTypeEnum
.
OTHER
.
getType
(),
"cash_apply_refuse_notify"
,
"/pages/route/index?pageType="
,
"hbapp_withdraw_list"
,
"cashApplyRefuseNotify"
,
"haobanNotice"
),
CASH_APPLY_FAIL_NOTIFY
(
7002
,
"提现通知"
,
NoticeMessageCategoryTypeEnum
.
OTHER
.
getType
(),
"cash_apply_fail_notify"
,
"/pages/route/index?pageType="
,
"hbapp_withdraw_list"
,
"cashApplyFailNotify"
,
"haobanNotice"
),
CASH_APPLY_FAIL_NOTIFY
(
7002
,
"提现通知"
,
NoticeMessageCategoryTypeEnum
.
OTHER
.
getType
(),
"cash_apply_fail_notify"
,
"/pages/route/index?pageType="
,
"hbapp_withdraw_list"
,
"cashApplyFailNotify"
,
"haobanNotice"
),
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
View file @
fc91551a
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.vo.content;
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.vo.content;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
com.gic.content.api.dto.additional.ContentMaterialAdditionalDTO
;
import
com.gic.content.api.dto.ext.ContentMaterialExt
;
import
com.gic.content.api.dto.ext.ContentMaterialExt
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
...
@@ -47,6 +48,11 @@ public class ContentMaterialInfoVO implements Serializable {
...
@@ -47,6 +48,11 @@ public class ContentMaterialInfoVO implements Serializable {
private
Integer
topFlag
=
0
;
private
Integer
topFlag
=
0
;
/**
/**
* 是否支持下载1是0否
*/
private
Integer
downloadFlag
;
/**
* 发布时间
* 发布时间
*/
*/
private
Date
publishTime
;
private
Date
publishTime
;
...
@@ -162,6 +168,12 @@ public class ContentMaterialInfoVO implements Serializable {
...
@@ -162,6 +168,12 @@ public class ContentMaterialInfoVO implements Serializable {
*/
*/
private
ContentMaterialExt
ext
;
private
ContentMaterialExt
ext
;
/**
* 素材附件列表
* KEY:link链接、link_image链接小工具图片
*/
private
List
<
ContentMaterialAdditionalDTO
>
additionalList
;
public
Long
getContentMaterialId
()
{
public
Long
getContentMaterialId
()
{
return
contentMaterialId
;
return
contentMaterialId
;
...
@@ -203,6 +215,14 @@ public class ContentMaterialInfoVO implements Serializable {
...
@@ -203,6 +215,14 @@ public class ContentMaterialInfoVO implements Serializable {
this
.
topFlag
=
topFlag
;
this
.
topFlag
=
topFlag
;
}
}
public
Integer
getDownloadFlag
()
{
return
downloadFlag
;
}
public
void
setDownloadFlag
(
Integer
downloadFlag
)
{
this
.
downloadFlag
=
downloadFlag
;
}
public
Date
getPublishTime
()
{
public
Date
getPublishTime
()
{
return
publishTime
;
return
publishTime
;
}
}
...
@@ -395,6 +415,14 @@ public class ContentMaterialInfoVO implements Serializable {
...
@@ -395,6 +415,14 @@ public class ContentMaterialInfoVO implements Serializable {
this
.
ext
=
ext
;
this
.
ext
=
ext
;
}
}
public
List
<
ContentMaterialAdditionalDTO
>
getAdditionalList
()
{
return
additionalList
;
}
public
void
setAdditionalList
(
List
<
ContentMaterialAdditionalDTO
>
additionalList
)
{
this
.
additionalList
=
additionalList
;
}
public
void
convertMaterialImages
(
String
materialImageUrls
,
String
materialThumbnailImageUrls
)
{
public
void
convertMaterialImages
(
String
materialImageUrls
,
String
materialThumbnailImageUrls
)
{
if
(
StringUtils
.
isNotBlank
(
materialImageUrls
))
{
if
(
StringUtils
.
isNotBlank
(
materialImageUrls
))
{
String
[]
split
=
StringUtils
.
split
(
materialImageUrls
,
","
);
String
[]
split
=
StringUtils
.
split
(
materialImageUrls
,
","
);
...
...
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