From 032f7c07e272dae9a857ed76b480dc391dc4073f Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 12 三月 2024 14:18:47 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 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