chore: ops模块构建(业务运营)- 主要实现 基础建设、保洁、安保、工程、客服 等功能

This commit is contained in:
lzh
2025-12-31 16:49:44 +08:00
parent dd7c1e097b
commit 16f0b71ead
53 changed files with 1307 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.viewsh</groupId>
<artifactId>viewsh-module-ops</artifactId>
<version>${revision}</version>
</parent>
<artifactId>viewsh-module-ops-api</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>
[契约层] ops 模块 API存放工单、基础数据的 DTO 和 Feign 接口,暴露给其它模块调用
</description>
<dependencies>
<!-- 通用工具类 -->
<dependency>
<groupId>com.viewsh</groupId>
<artifactId>viewsh-common</artifactId>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>org.springdoc</groupId> <!-- 接口文档:使用最新版本的 Swagger 模型 -->
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<scope>provided</scope>
</dependency>
<!-- 参数校验 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<optional>true</optional>
</dependency>
<!-- RPC 远程调用相关 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,5 @@
/**
* Ops API 包,定义暴露给其它模块的 APIFeign 接口)
* 主要包括工单引擎相关的 API
*/
package com.viewsh.module.ops.api;

View File

@@ -0,0 +1,16 @@
package com.viewsh.module.ops.enums;
import com.viewsh.framework.common.enums.RpcConstants;
/**
* API 相关的枚举
*
* @author lzh
*/
public class ApiConstants {
public static final String PREFIX = RpcConstants.RPC_API_PREFIX + "/ops";
public static final String VERSION = "1.0.0";
}

View File

@@ -0,0 +1,7 @@
/**
* ops 模块 API存放工单、基础数据的 DTO 和 Feign 接口
*
* 1. Controller URL以 /ops/ 开头,避免和其它 Module 冲突
* 2. DataObject 表名:以 ops_ 开头,方便在数据库中区分
*/
package com.viewsh.module.ops;