1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| package com.chinaztt.mes.mould.config;
|
| import lombok.Data;
| import org.springframework.beans.factory.annotation.Value;
| import org.springframework.cloud.context.config.annotation.RefreshScope;
| import org.springframework.stereotype.Component;
|
| /**
| * @Author: Zero
| * @Date: 2022/12/2 09:12
| * @Description:
| */
| @RefreshScope
| @Component
| @Data
| public class MouldConfig {
| @Value("${mould.url:}")
| private String mouldUrl;
| }
|
|