提交 | 用户 | 时间 | ||
a6de49 | 1 | package com.iailab.module.data.enums; |
H | 2 | |
3 | import com.iailab.framework.common.enums.RpcConstants; | |
4 | ||
5 | /** | |
6 | * API 相关的枚举 | |
7 | * | |
8 | * @author iailab | |
9 | */ | |
10 | public class ApiConstants { | |
11 | ||
12 | /** | |
13 | * 服务名 | |
14 | * | |
15 | * 注意,需要保证和 spring.application.name 保持一致 | |
16 | */ | |
17 | public static final String NAME = "data-server"; | |
18 | ||
19 | public static final String PREFIX = RpcConstants.RPC_API_PREFIX + "/data"; | |
20 | ||
21 | public static final String VERSION = "1.0.0"; | |
22 | ||
23 | } |