package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.City;
|
import com.stylefeng.guns.modular.system.model.OpenCity;
|
import com.stylefeng.guns.modular.system.warpper.BaseWarpper;
|
|
import java.util.List;
|
|
public interface IOpenCityService extends IService<OpenCity> {
|
|
|
/**
|
* 获取开通城市列表
|
* @return
|
* @throws Exception
|
*/
|
List<BaseWarpper> queryOpenCity(Integer uid, Integer language) throws Exception;
|
|
|
/**
|
* 判断是否是开通城市
|
* @return
|
* @throws Exception
|
*/
|
City openCity(Double lat, Double lnt, Integer language) throws Exception;
|
}
|