1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.sandu.common.config;
|
| import lombok.Getter;
| import lombok.Setter;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.context.annotation.Configuration;
|
| /**
| * @author chenjiantian
| * @date 2021/8/2 15:49
| */
| @Getter
| @Setter
| @Configuration
| @ConfigurationProperties(prefix = "sandu.common")
| public class CommonProperties {
| /**
| * 资源前缀
| */
| private String urlPrefix;
| }
|
|