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
4e8a5244
Commit
4e8a5244
authored
Jan 19, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1003887' into 'master'
feat: [1003887] 冷知识应用 See merge request rays/pcloud-common-parent!173
parents
0dade03a
b88052d8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
0 deletions
+14
-0
ProductTypeConstant.java
.../com/pcloud/common/core/constant/ProductTypeConstant.java
+5
-0
AppProductTypeEnum.java
...java/com/pcloud/common/core/enums/AppProductTypeEnum.java
+1
-0
AppRouteEnum.java
...n/src/main/java/com/pcloud/common/enums/AppRouteEnum.java
+5
-0
AppTypeEnum.java
...on/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
+1
-0
ServeLinkUtils.java
...src/main/java/com/pcloud/common/utils/ServeLinkUtils.java
+2
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/constant/ProductTypeConstant.java
View file @
4e8a5244
...
@@ -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"
;
/**
/**
* 热门作品类型
* 热门作品类型
...
...
pcloud-common-core/src/main/java/com/pcloud/common/core/enums/AppProductTypeEnum.java
View file @
4e8a5244
...
@@ -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
;
...
...
pcloud-common/src/main/java/com/pcloud/common/enums/AppRouteEnum.java
View file @
4e8a5244
...
@@ -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
);
...
...
pcloud-common/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
View file @
4e8a5244
...
@@ -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"
);
/**
/**
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/ServeLinkUtils.java
View file @
4e8a5244
...
@@ -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
;
}
}
...
...
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