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
bf8f4b35
Commit
bf8f4b35
authored
Jan 29, 2021
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[1003902]准考证
parent
75bec6df
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
AppRouteEnum.java
...n/src/main/java/com/pcloud/common/enums/AppRouteEnum.java
+5
-1
AppTypeEnum.java
...on/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
+2
-1
ServeLinkUtils.java
...src/main/java/com/pcloud/common/utils/ServeLinkUtils.java
+2
-0
No files found.
pcloud-common/src/main/java/com/pcloud/common/enums/AppRouteEnum.java
View file @
bf8f4b35
...
...
@@ -176,7 +176,11 @@ public enum AppRouteEnum {
/**
* flag
*/
FLAG
(
"flag"
,
AppTypeEnum
.
FLAG
.
value
);
FLAG
(
"flag"
,
AppTypeEnum
.
FLAG
.
value
),
/**
* 准考证
*/
TICKET
(
"ticket"
,
AppTypeEnum
.
TICKET
.
value
);
/**
* 值
...
...
pcloud-common/src/main/java/com/pcloud/common/enums/AppTypeEnum.java
View file @
bf8f4b35
...
...
@@ -90,7 +90,8 @@ public enum AppTypeEnum {
BOOK_CLICK
(
"BOOK_CLICK"
,
"点读书"
),
COLD_KNOWLEDGE
(
"COLD_KNOWLEDGE"
,
"冷知识"
),
FLAG
(
"FLAG"
,
"立Flag"
);
FLAG
(
"FLAG"
,
"立Flag"
),
TICKET
(
"TICKET"
,
"准考证"
);
/**
* 枚举转换
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/ServeLinkUtils.java
View file @
bf8f4b35
...
...
@@ -127,6 +127,8 @@ public class ServeLinkUtils {
return
"*flag"
+
basePath
+
"A"
+
id
+
"/entryFlag/start"
+
commonQuerys
;
}
else
if
(
"COLD_KNOWLEDGE"
.
equals
(
typeCode
))
{
return
"*cold"
+
basePath
+
"A"
+
id
+
"/entryCold/start"
+
commonQuerys
;
}
else
if
(
"TICKET"
.
equals
(
typeCode
))
{
return
"*aticket"
+
basePath
+
"A"
+
id
+
"/ticketHome"
+
commonQuerys
;
}
else
{
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