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
34d8b8a8
Commit
34d8b8a8
authored
Nov 29, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-wm' of git.gicdev.com:haoban3.0/haoban-manage3.0 into feature-wm
parents
f42f8d05
bc640b75
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
81 additions
and
1 deletions
+81
-1
NoticeMessageTypeEnum.java
...om/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
+2
-0
ContentMaterialController.java
...age/web/controller/content/ContentMaterialController.java
+1
-1
ContentMaterialSaveQO.java
...c/haoban/manage/web/qo/content/ContentMaterialSaveQO.java
+14
-0
ContentMaterialInfoVO.java
...c/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
+28
-0
SimpleGoodsInfoVO.java
...m/gic/haoban/manage/web/vo/content/SimpleGoodsInfoVO.java
+10
-0
ContentGoodsVO.java
...haoban/manage/web/vo/content/creative/ContentGoodsVO.java
+26
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
View file @
34d8b8a8
...
@@ -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/controller/content/ContentMaterialController.java
View file @
34d8b8a8
...
@@ -209,7 +209,7 @@ public class ContentMaterialController {
...
@@ -209,7 +209,7 @@ public class ContentMaterialController {
@ResponseBody
@ResponseBody
@RequestMapping
(
"/get-material"
)
@RequestMapping
(
"/get-material"
)
public
RestResponse
<
ContentMaterialInfoVO
>
getMaterialMember
(
String
enterpriseId
,
Long
contentMaterialId
,
String
clerkId
)
{
public
RestResponse
<
ContentMaterialInfoVO
>
getMaterialMember
(
String
enterpriseId
,
Long
contentMaterialId
,
String
clerkId
)
{
ServiceResponse
<
ContentMaterialDTO
>
response
=
contentMaterialApiService
.
getMaterialMember
(
enterpriseId
,
contentMaterialId
,
clerkId
);
ServiceResponse
<
ContentMaterialDTO
>
response
=
contentMaterialApiService
.
getMaterialMember
(
enterpriseId
,
contentMaterialId
,
clerkId
,
""
);
if
(!
response
.
isSuccess
())
{
if
(!
response
.
isSuccess
())
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
}
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/ContentMaterialSaveQO.java
View file @
34d8b8a8
...
@@ -3,6 +3,7 @@ package com.gic.haoban.manage.web.qo.content;
...
@@ -3,6 +3,7 @@ package com.gic.haoban.manage.web.qo.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.material.ContentMaterialRelationThirdDTO
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.NotBlank
;
import
org.hibernate.validator.constraints.NotBlank
;
...
@@ -100,6 +101,11 @@ public class ContentMaterialSaveQO {
...
@@ -100,6 +101,11 @@ public class ContentMaterialSaveQO {
*/
*/
private
List
<
String
>
contentGoodsIdList
;
private
List
<
String
>
contentGoodsIdList
;
/**
* 关联第三方商品id列表
*/
private
List
<
ContentMaterialRelationThirdDTO
>
thirdGoodsList
;
public
Long
getContentMaterialId
()
{
public
Long
getContentMaterialId
()
{
return
contentMaterialId
;
return
contentMaterialId
;
}
}
...
@@ -259,5 +265,13 @@ public class ContentMaterialSaveQO {
...
@@ -259,5 +265,13 @@ public class ContentMaterialSaveQO {
public
void
setContentGoodsIdList
(
List
<
String
>
contentGoodsIdList
)
{
public
void
setContentGoodsIdList
(
List
<
String
>
contentGoodsIdList
)
{
this
.
contentGoodsIdList
=
contentGoodsIdList
;
this
.
contentGoodsIdList
=
contentGoodsIdList
;
}
}
public
List
<
ContentMaterialRelationThirdDTO
>
getThirdGoodsList
()
{
return
thirdGoodsList
;
}
public
void
setThirdGoodsList
(
List
<
ContentMaterialRelationThirdDTO
>
thirdGoodsList
)
{
this
.
thirdGoodsList
=
thirdGoodsList
;
}
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
View file @
34d8b8a8
...
@@ -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
,
","
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/content/SimpleGoodsInfoVO.java
View file @
34d8b8a8
...
@@ -72,5 +72,15 @@ public class SimpleGoodsInfoVO implements Serializable {
...
@@ -72,5 +72,15 @@ public class SimpleGoodsInfoVO implements Serializable {
*/
*/
private
Integer
sourceType
;
private
Integer
sourceType
;
/**
* 第三方商品id
*/
private
String
thirdGoodsId
;
/**
* 商品类型0:gic 1:微盟
*/
private
Integer
thirdType
=
0
;
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/content/creative/ContentGoodsVO.java
View file @
34d8b8a8
...
@@ -55,6 +55,16 @@ public class ContentGoodsVO {
...
@@ -55,6 +55,16 @@ public class ContentGoodsVO {
*/
*/
private
BigDecimal
minPrice
;
private
BigDecimal
minPrice
;
/**
* 第三方商品id
*/
private
String
thirdGoodsId
;
/**
* 商品类型0:gic 1:微盟
*/
private
Integer
thirdType
=
0
;
public
String
getGoodsId
()
{
public
String
getGoodsId
()
{
return
goodsId
;
return
goodsId
;
}
}
...
@@ -126,4 +136,20 @@ public class ContentGoodsVO {
...
@@ -126,4 +136,20 @@ public class ContentGoodsVO {
public
void
setMinPrice
(
BigDecimal
minPrice
)
{
public
void
setMinPrice
(
BigDecimal
minPrice
)
{
this
.
minPrice
=
minPrice
;
this
.
minPrice
=
minPrice
;
}
}
public
String
getThirdGoodsId
()
{
return
thirdGoodsId
;
}
public
void
setThirdGoodsId
(
String
thirdGoodsId
)
{
this
.
thirdGoodsId
=
thirdGoodsId
;
}
public
Integer
getThirdType
()
{
return
thirdType
;
}
public
void
setThirdType
(
Integer
thirdType
)
{
this
.
thirdType
=
thirdType
;
}
}
}
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