Commit 4e8a5244 by 田超

Merge branch 'feature/1003887' into 'master'

feat: [1003887] 冷知识应用

See merge request rays/pcloud-common-parent!173
parents 0dade03a b88052d8
...@@ -347,6 +347,11 @@ public class ProductTypeConstant { ...@@ -347,6 +347,11 @@ public class ProductTypeConstant {
*/ */
public static final String DRAW_APP = "DRAW_APP"; public static final String DRAW_APP = "DRAW_APP";
/**
*冷知识
*/
public static final String COLD_KNOWLEDGE = "COLD_KNOWLEDGE";
/** /**
* 热门作品类型 * 热门作品类型
......
...@@ -40,6 +40,7 @@ public enum AppProductTypeEnum { ...@@ -40,6 +40,7 @@ public enum AppProductTypeEnum {
BM(AppTypeEnum.BM.value, ProductTypeConstant.BM), BM(AppTypeEnum.BM.value, ProductTypeConstant.BM),
BOOK_CLICK(AppTypeEnum.BOOK_CLICK.value, ProductTypeConstant.BOOK_CLICK_APP), BOOK_CLICK(AppTypeEnum.BOOK_CLICK.value, ProductTypeConstant.BOOK_CLICK_APP),
LIVE(AppTypeEnum.LIVE_TIMETABLE.value, ProductTypeConstant.LIVE), LIVE(AppTypeEnum.LIVE_TIMETABLE.value, ProductTypeConstant.LIVE),
COLD_KNOWLEDGE(AppTypeEnum.COLD_KNOWLEDGE.value, ProductTypeConstant.COLD_KNOWLEDGE),
PBSTORY(AppTypeEnum.PBSTORY.value, ProductTypeConstant.PBSTORY); PBSTORY(AppTypeEnum.PBSTORY.value, ProductTypeConstant.PBSTORY);
public final String appTypeCode; public final String appTypeCode;
......
...@@ -169,6 +169,11 @@ public enum AppRouteEnum { ...@@ -169,6 +169,11 @@ public enum AppRouteEnum {
BOOK_CLICK("clickread", AppTypeEnum.BOOK_CLICK.value), BOOK_CLICK("clickread", AppTypeEnum.BOOK_CLICK.value),
/** /**
* 冷知识
*/
COLD_KNOWLEDGE("coldKnowledge", AppTypeEnum.COLD_KNOWLEDGE.value),
/**
* flag * flag
*/ */
FLAG("flag", AppTypeEnum.FLAG.value); FLAG("flag", AppTypeEnum.FLAG.value);
......
...@@ -89,6 +89,7 @@ public enum AppTypeEnum { ...@@ -89,6 +89,7 @@ public enum AppTypeEnum {
SUBJECTNOTE("SUBJECTNOTE", "错题本"), SUBJECTNOTE("SUBJECTNOTE", "错题本"),
BOOK_CLICK("BOOK_CLICK", "点读书"), BOOK_CLICK("BOOK_CLICK", "点读书"),
COLD_KNOWLEDGE("COLD_KNOWLEDGE", "冷知识"),
FLAG("FLAG", "立Flag"); FLAG("FLAG", "立Flag");
/** /**
......
...@@ -125,6 +125,8 @@ public class ServeLinkUtils { ...@@ -125,6 +125,8 @@ public class ServeLinkUtils {
return "*clickread" + basePath + "A" + id + commonQuerys; return "*clickread" + basePath + "A" + id + commonQuerys;
} else if ("FLAG".equals(typeCode)) { } else if ("FLAG".equals(typeCode)) {
return "*flag" + basePath + "A" + id + "/entryFlag/start" + commonQuerys; return "*flag" + basePath + "A" + id + "/entryFlag/start" + commonQuerys;
}else if ("COLD_KNOWLEDGE".equals(typeCode)) {
return "*cold" + basePath + "A" + id + "/entryCold/start" + commonQuerys;
} else { } else {
return "" + basePath + "application/" + id + "/display" + commonQuerys + "&appType=" + typeCode; return "" + basePath + "application/" + id + "/display" + commonQuerys + "&appType=" + typeCode;
} }
......
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