Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
50e29a1c
Commit
50e29a1c
authored
Jul 09, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'message' into 'master'
feat:[1004974]个人主页消息加类型 See merge request rays/pcloud-book!1360
parents
4bf4472e
87c7c05b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletions
+15
-1
AppletRecordTypeEnum.java
...va/com/pcloud/book/applet/enums/AppletRecordTypeEnum.java
+9
-1
AppletNotifySendDTO.java
...com/pcloud/book/cultivate/entity/AppletNotifySendDTO.java
+2
-0
CultivateNotifyBizImpl.java
...cloud/book/cultivate/biz/impl/CultivateNotifyBizImpl.java
+4
-0
No files found.
pcloud-facade-book/src/main/java/com/pcloud/book/applet/enums/AppletRecordTypeEnum.java
View file @
50e29a1c
...
...
@@ -30,7 +30,15 @@ public enum AppletRecordTypeEnum {
SELF_COUPON
(
21
,
"自定义优惠券"
),
SYS_COUPON
(
22
,
"系统优惠券"
);
SYS_COUPON
(
22
,
"系统优惠券"
),
PERSONAL_LIKE
(
23
,
"个人页点赞"
),
CLOCK_LIKE
(
24
,
"打卡点赞"
),
CLOCK_COMMENT
(
25
,
"打卡评论"
)
;
public
Integer
value
;
...
...
pcloud-facade-book/src/main/java/com/pcloud/book/cultivate/entity/AppletNotifySendDTO.java
View file @
50e29a1c
...
...
@@ -27,4 +27,6 @@ public class AppletNotifySendDTO {
@ApiModelProperty
(
"JSON形式额外信息"
)
private
String
extJson
;
private
Integer
serveType
;
}
pcloud-service-book/src/main/java/com/pcloud/book/cultivate/biz/impl/CultivateNotifyBizImpl.java
View file @
50e29a1c
...
...
@@ -570,7 +570,11 @@ public class CultivateNotifyBizImpl implements CultivateNotifyBiz {
cultivateNotifyItem
.
setMessageId
(
cultivateNotify
.
getMessageId
());
cultivateNotifyItem
.
setContentType
(
4
);
cultivateNotifyItem
.
setServeId
(
newSendDTO
.
getFromId
());
if
(
newSendDTO
.
getServeType
()!=
null
){
cultivateNotifyItem
.
setServeType
(
newSendDTO
.
getServeType
());
}
else
{
cultivateNotifyItem
.
setServeType
(
AppletRecordTypeEnum
.
RAISE_QUESTION
.
value
);
}
cultivateNotifyItemDao
.
insert
(
Lists
.
newArrayList
(
cultivateNotifyItem
));
return
cultivateNotify
.
getMessageId
();
}
...
...
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