From a155690a38eb156a4dbef88452b3d5decc833e77 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 24 一月 2025 15:27:41 +0800
Subject: [PATCH] 新增引流接口及业务逻辑

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OperatorClient.java |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OperatorClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OperatorClient.java
index 8dcbee4..d75bc3a 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OperatorClient.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OperatorClient.java
@@ -6,7 +6,10 @@
 import com.ruoyi.other.api.factory.OperatorFallbackFactory;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
+
+import java.util.List;
 
 /**
  * @author zhibing.pu
@@ -16,6 +19,14 @@
 public interface OperatorClient {
 	
 	
+	/**
+	 * 获取运营商数据
+	 * @param id
+	 * @return
+	 */
+	@PostMapping("/operator/getOperatorById")
+	R<Operator> getOperatorById(@RequestParam("id") Integer id);
+	
 	
 	/**
 	 * 获取运营商数据
@@ -24,6 +35,19 @@
 	 */
 	@PostMapping("/operator/getOperator")
 	R<Operator> getOperator(@RequestParam("operatorId") String operatorId);
-
-
+	
+	
+	/**
+	 * 获取所有运营商
+	 * @return
+	 */
+	@PostMapping("/operator/getAllOperator")
+	R<List<Operator>> getAllOperator();
+	
+	/**
+	 * 更新运营商数据
+	 * @return
+	 */
+	@PostMapping("/operator/editOperator")
+	R editOperator(@RequestBody Operator operator);
 }

--
Gitblit v1.7.1