Commit 336e5980 by 田超

Merge branch 'feature/1003820' into 'master'

feat: [1003820] 立flag

See merge request rays/pcloud-common-parent!153
parents 08cbe119 ac694e9b
...@@ -166,7 +166,12 @@ public enum AppRouteEnum { ...@@ -166,7 +166,12 @@ public enum AppRouteEnum {
/** /**
* 点读书 * 点读书
*/ */
BOOK_CLICK("clickread", AppTypeEnum.BOOK_CLICK.value); BOOK_CLICK("clickread", AppTypeEnum.BOOK_CLICK.value),
/**
* flag
*/
FLAG("flag", AppTypeEnum.FLAG.value);
/** /**
* 值 * 值
......
...@@ -88,7 +88,8 @@ public enum AppTypeEnum { ...@@ -88,7 +88,8 @@ public enum AppTypeEnum {
*/ */
SUBJECTNOTE("SUBJECTNOTE", "错题本"), SUBJECTNOTE("SUBJECTNOTE", "错题本"),
BOOK_CLICK("BOOK_CLICK", "点读书"); BOOK_CLICK("BOOK_CLICK", "点读书"),
FLAG("FLAG", "立Flag");
/** /**
* 枚举转换 * 枚举转换
......
...@@ -123,6 +123,8 @@ public class ServeLinkUtils { ...@@ -123,6 +123,8 @@ public class ServeLinkUtils {
return "*subject" + basePath + "A" + id + commonQuerys; return "*subject" + basePath + "A" + id + commonQuerys;
} else if ("BOOK_CLICK".equals(typeCode)) { } else if ("BOOK_CLICK".equals(typeCode)) {
return "*clickread" + basePath + "A" + id + commonQuerys; return "*clickread" + basePath + "A" + id + commonQuerys;
} else if ("FLAG".equals(typeCode)) {
return "*flag" + basePath + "A" + id + "/entryFlag/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