Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
胡园园
yanxuan-qc-change-system
Commits
241338bc
Commit
241338bc
authored
Nov 14, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: apollo配置
parent
03f427cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
0 deletions
+86
-0
AppConfig.java
...com/netease/mail/yanxuan/change/biz/config/AppConfig.java
+28
-0
ChangeFileConfig.java
...ease/mail/yanxuan/change/biz/config/ChangeFileConfig.java
+28
-0
TitleConfig.java
...m/netease/mail/yanxuan/change/biz/config/TitleConfig.java
+30
-0
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/AppConfig.java
0 → 100644
View file @
241338bc
/**
* @(#)AppConfig.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
config
;
import
org.springframework.stereotype.Component
;
import
com.ctrip.framework.apollo.spring.annotation.EnableAutoUpdateApolloConfig
;
import
com.ctrip.framework.apollo.spring.annotation.ValueMapping
;
import
lombok.Data
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
@Component
@EnableAutoUpdateApolloConfig
(
"application"
)
@Data
public
class
AppConfig
{
@ValueMapping
(
"${titleConfig:[]}"
)
private
TitleConfig
titleConfig
;
}
\ No newline at end of file
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/ChangeFileConfig.java
0 → 100644
View file @
241338bc
/**
* @(#)ChangeFileConfig.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
config
;
import
lombok.Data
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
@Data
public
class
ChangeFileConfig
{
/**
* 文件链接
*/
private
String
fileUrl
;
/**
* 文件名
*/
private
String
fileName
;
}
\ No newline at end of file
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/TitleConfig.java
0 → 100644
View file @
241338bc
/**
* @(#)TitleConfig.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
config
;
import
java.util.List
;
import
lombok.Data
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
@Data
public
class
TitleConfig
{
/**
* 提示文案
*/
private
String
title
;
/**
* 文件
*/
private
List
<
ChangeFileConfig
>
changeFileConfigList
;
}
\ No newline at end of file
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