nickchange
2023-11-09 c036557db88c6297b9a626a892dce35c14ab8ee5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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);
}