feat:代码初始化
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import cn.code.nl.framework.common.enums.RpcConstants;
|
||||
|
||||
/**
|
||||
* API 相关的枚举
|
||||
*
|
||||
* @author liyongde
|
||||
*/
|
||||
public class ApiConstants {
|
||||
|
||||
/**
|
||||
* 服务名
|
||||
*
|
||||
* 注意,需要保证和 spring.application.name 保持一致
|
||||
*/
|
||||
public static final String NAME = "lms-server";
|
||||
|
||||
public static final String PREFIX = RpcConstants.RPC_API_PREFIX + "/lms";
|
||||
|
||||
public static final String VERSION = "1.0.0";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import cn.code.nl.framework.common.exception.ErrorCode;
|
||||
|
||||
/**
|
||||
*
|
||||
* @Author: liyongde
|
||||
* @Date: 2026/7/10 10:12
|
||||
*/
|
||||
public interface ErrorCodeConstants {
|
||||
ErrorCode PDM_RAW_FOIL_WORK_ORDER_NOT_EXISTS = new ErrorCode(100001, "生箔工序工单不存在");
|
||||
}
|
||||
Reference in New Issue
Block a user