From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 三月 2024 10:11:21 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-management/src/main/java/com/dsh/course/service/IPhoneService.java |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/java/com/dsh/course/service/IPhoneService.java b/cloud-server-management/src/main/java/com/dsh/course/service/IPhoneService.java
new file mode 100644
index 0000000..d397f93
--- /dev/null
+++ b/cloud-server-management/src/main/java/com/dsh/course/service/IPhoneService.java
@@ -0,0 +1,55 @@
+package com.dsh.course.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.dsh.course.entity.Phone;
+import com.dsh.course.model.dto.GetPhoneInfoRequest;
+
+import java.util.List;
+import java.util.Map;
+
+public interface IPhoneService extends IService<Phone> {
+
+    /**
+     * 获取所有的系统电话
+     * @return
+     * @throws Exception
+     */
+    List<Phone> queryPhones(String code) throws Exception;
+
+
+    /**
+     * 获取客服电话(个人中心)
+     * @param code
+     * @return
+     * @throws Exception
+     */
+    Map<String, Object> queryCustomerPhone(String code) throws Exception;
+
+
+
+    /**
+     * 根据定位的城市行政编号获取分公司的客服电话
+     * @param code
+     * @return
+     * @throws Exception
+     */
+    Map<String, Object> queryPhone(String code) throws Exception;
+
+
+
+    /**
+     * 获取客服电话
+     * @param uid
+     * @return
+     * @throws Exception
+     */
+    Map<String, Object> queryPhone(Integer uid) throws Exception;
+
+
+    /**
+     * 根据公司类型获取手机号
+     * @param request
+     * @return
+     */
+    String selectPhoneByCompany(GetPhoneInfoRequest request);
+}

--
Gitblit v1.7.1