Commit a08da22b by 阮思源

加点读书类型

parent efddde0d
......@@ -337,6 +337,11 @@ public class ProductTypeConstant {
*/
public static final String BM = "BM";
/**
* 点读书
*/
public static final String BOOK_CLICK_APP = "BOOK_CLICK_APP";
/**
* 热门作品类型
......@@ -366,7 +371,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, ORAL_EVALUATION, PBSTORY, PDF_APP, WORD_APP,SUBJECTNOTE_APP};
ARTICLE_READING, ENGLISH_WALKMAN, ORAL_EVALUATION, PBSTORY, PDF_APP, WORD_APP,SUBJECTNOTE_APP,BOOK_CLICK_APP};
/**
* 数据平台埋点型作品
......
package com.pcloud.common.core.enums;
import com.pcloud.common.core.constant.ProductTypeConstant;
import com.pcloud.common.utils.string.StringUtil;
import com.pcloud.common.enums.AppTypeEnum;
import com.pcloud.common.utils.string.StringUtil;
/**
* Description 应用作品类型关联枚举 Created by PENG on 2019/3/27.
......@@ -37,7 +37,8 @@ public enum AppProductTypeEnum {
PDF(AppTypeEnum.PDF.value, ProductTypeConstant.PDF_APP),
RECITE_WORD(AppTypeEnum.RECITE_WORD.value, ProductTypeConstant.WORD_APP),
SUBJECTNOTE(AppTypeEnum.SUBJECTNOTE.value, ProductTypeConstant.SUBJECTNOTE_APP),
BM(AppTypeEnum.BM.value, ProductTypeConstant.BM);
BM(AppTypeEnum.BM.value, ProductTypeConstant.BM),
BOOK_CLICK(AppTypeEnum.BOOK_CLICK.value, ProductTypeConstant.BOOK_CLICK_APP);
public final String appTypeCode;
......@@ -50,7 +51,6 @@ public enum AppProductTypeEnum {
/**
* 根据应用类型编码获取作品类型编码
*
* @param appTypeCode 应用类型编码
* @return
*/
......@@ -71,7 +71,6 @@ public enum AppProductTypeEnum {
/**
* 根据作品类型编码获取应用类型编码
*
* @param productTypeCode 作品类型编码
* @return
*/
......
......@@ -161,7 +161,12 @@ public enum AppRouteEnum {
/**
* 错题本
*/
SUBJECTNOTE("subject", AppTypeEnum.SUBJECTNOTE.value);
SUBJECTNOTE("subject", AppTypeEnum.SUBJECTNOTE.value),
/**
* 点读书
*/
BOOK_CLICK("clickread", AppTypeEnum.BOOK_CLICK.value);
/**
* 值
......
......@@ -86,7 +86,9 @@ public enum AppTypeEnum {
/**
* add by songx at 2019-5-25 16:52:07
*/
SUBJECTNOTE("SUBJECTNOTE", "错题本");
SUBJECTNOTE("SUBJECTNOTE", "错题本"),
BOOK_CLICK("BOOK_CLICK", "点读书");
/**
* 枚举转换
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment