添加配置

This commit is contained in:
2026-03-04 19:29:53 +08:00
parent 32c0af9f1d
commit 01df90000b
4 changed files with 63 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
package com.njcn.msgpush.module.push.enums;
import com.njcn.msgpush.framework.common.enums.RpcConstants;
/**
* API 相关的枚举
*
* @author hongawen
*/
public class ApiConstants {
/**
* 服务名
*
* 注意,需要保证和 spring.application.name 保持一致
*/
public static final String NAME = "push-server";
public static final String PREFIX = RpcConstants.RPC_API_PREFIX + "/push";
public static final String VERSION = "1.0.0";
}