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);
|
}
|