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
5cddd32d
Commit
5cddd32d
authored
Apr 22, 2019
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加作品应用类型
parent
c4720f82
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
7 deletions
+40
-7
ProductTypeConstant.java
.../com/pcloud/common/core/constant/ProductTypeConstant.java
+21
-6
AppProductTypeEnum.java
...java/com/pcloud/common/core/enums/AppProductTypeEnum.java
+15
-1
AppTypeEnum.java
...on/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
+4
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/constant/ProductTypeConstant.java
View file @
5cddd32d
...
...
@@ -183,11 +183,6 @@ public class ProductTypeConstant {
public
static
final
String
PBMUSIC
=
"PBMUSIC"
;
/**
* 绘本资源
*/
public
static
final
String
MUSIC
=
"MUSIC"
;
/**
* 一对一辅导
*/
public
static
final
String
TUTORIAL
=
"TUTORIAL"
;
...
...
@@ -283,6 +278,11 @@ public class ProductTypeConstant {
public
static
final
String
MEMBER_APP
=
"MEMBER_APP"
;
/**
* 绘本故事
*/
public
static
final
String
PBSTORY
=
"PBSTORY"
;
/**
* 课文诵读
*/
public
static
final
String
ARTICLE_READING
=
"ARTICLE_READING"
;
...
...
@@ -293,6 +293,21 @@ public class ProductTypeConstant {
public
static
final
String
ENGLISH_WALKMAN
=
"ENGLISH_WALKMAN"
;
/**
* 口语评测Oral evaluation
*/
public
static
final
String
ORAL_EVALUATION
=
"ORAL_EVALUATION"
;
/**
* 微信学习群
*/
public
static
final
String
BOOK_GROUP
=
"BOOK_GROUP"
;
/**
* 延伸阅读
*/
public
static
final
String
PDF_APP
=
"PDF_APP"
;
/**
* 热门作品类型
*/
public
static
final
String
[]
HOT_PRODUCT_TYPE
=
{
QA
,
PDF
,
VIDEO
,
PRETEST
};
...
...
@@ -320,7 +335,7 @@ public class ProductTypeConstant {
public
static
final
String
[]
APP_PRODUCT
=
{
LOOK
,
LIVE
,
TUTOR
,
GROUP
,
ZSCORE
,
VOTE
,
CLOCK
,
TEST
,
AUDIOAPP
,
ANSWER
,
EF
,
VIDEO_COURSE
,
PRETESTAPP
,
AUDIO_RESOURCE
,
QA_APP
,
EBOOK_APP
,
AUDIO_MAGIC
,
TEACH_RESOURCE_APP
,
COURSE_WARE
,
TEST_PAPER_APP
,
MATCH_LISTEN
,
WORD_DICTATION
,
STROKE_ORDER_APP
,
IMAGE_APP
,
MEMBER_APP
,
ARTICLE_READING
,
ENGLISH_WALKMAN
};
ARTICLE_READING
,
ENGLISH_WALKMAN
,
ORAL_EVALUATION
,
PBSTORY
,
PDF_APP
};
/**
* 数据平台埋点型作品
...
...
pcloud-common-core/src/main/java/com/pcloud/common/core/enums/AppProductTypeEnum.java
View file @
5cddd32d
...
...
@@ -32,7 +32,9 @@ public enum AppProductTypeEnum {
IMAGE
(
AppTypeEnum
.
IMAGE
.
value
,
ProductTypeConstant
.
IMAGE_APP
),
MEMBER
(
AppTypeEnum
.
MEMBER
.
value
,
ProductTypeConstant
.
MEMBER_APP
),
ARTICLE_READING
(
AppTypeEnum
.
ARTICLE_READING
.
value
,
ProductTypeConstant
.
ARTICLE_READING
),
ENGLISH_WALKMAN
(
AppTypeEnum
.
ENGLISH_WALKMAN
.
value
,
ProductTypeConstant
.
ENGLISH_WALKMAN
);
ENGLISH_WALKMAN
(
AppTypeEnum
.
ENGLISH_WALKMAN
.
value
,
ProductTypeConstant
.
ENGLISH_WALKMAN
),
ORAL_EVALUATION
(
AppTypeEnum
.
ORAL_EVALUATION
.
value
,
ProductTypeConstant
.
ORAL_EVALUATION
),
PDF
(
AppTypeEnum
.
PDF
.
value
,
ProductTypeConstant
.
PDF_APP
);
public
final
String
appTypeCode
;
...
...
@@ -82,4 +84,16 @@ public enum AppProductTypeEnum {
}
return
null
;
}
/**
* 会员应用可设置会员免费的作品类型
*/
public
static
final
String
[]
MEMBER_INCLUDE_PRODUCT_TYPE
=
{
ProductTypeConstant
.
PDF
,
ProductTypeConstant
.
AUDIO
,
ProductTypeConstant
.
VIDEO
,
ProductTypeConstant
.
PRETEST
,
ProductTypeConstant
.
ARTICLE
,
ProductTypeConstant
.
FORMAT
,
ProductTypeConstant
.
ALBUM
,
ProductTypeConstant
.
BOOK
,
ProductTypeConstant
.
EBOOK
,
ProductTypeConstant
.
VIDEO_SCHEDULE
};
/**
* 会员应用可设置会员免费的应用类型
*/
public
static
final
String
[]
MEMBER_INCLUDE_APP_TYPE
=
{
AppTypeEnum
.
ANSWER
.
value
,
AppTypeEnum
.
ITEM_BANK
.
value
,
AppTypeEnum
.
EBOOK
.
value
,
AppTypeEnum
.
TEACH_RESOURCE
.
value
,
AppTypeEnum
.
COURSE_WARE
.
value
,
AppTypeEnum
.
TEST_PAPER
.
value
};
}
pcloud-common/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
View file @
5cddd32d
...
...
@@ -62,10 +62,14 @@ public enum AppTypeEnum {
MATCH_LISTEN
(
"MATCH_LISTEN"
),
//配套听力
WORD_DICTATION
(
"WORD_DICTATION"
),
//生词听写
STROKE_ORDER
(
"STROKE_ORDER"
),
//笔顺动图
ARTICLE_READING
(
"ARTICLE_READING"
),
//课文诵读
ENGLISH_WALKMAN
(
"ENGLISH_WALKMAN"
),
//英语随身听
WECHAT_STUDY_GROUP
(
"WECHAT_STUDY_GROUP"
),
// 微信学习交流圈
TASK_CLOCK
(
"TASK_CLOCK"
),
//任务打卡
REWARD_CLOCK
(
"REWARD_CLOCK"
),
//奖励打卡
CUSTOM_CLOCK
(
"CUSTOM_CLOCK"
),
//自定义打卡
MEMBER
(
"MEMBER"
),
//开通会员
ORAL_EVALUATION
(
"ORAL_EVALUATION"
),
//口语评测
PIC_NOTE
(
"PIC_NOTE"
);
// 图文应用
/**
...
...
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