|
|
@@ -100,12 +100,60 @@ public class AdminCompanyBridgeController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
- // ========== 号码管理/通话套餐/黑名单/频率/通话包 ==========
|
|
|
- @GetMapping({"/company/companyVoiceMobile/list", "/company/companyVoicePackage/list",
|
|
|
- "/company/companyVoiceBlacklist/list", "/company/companyVoiceConfig/list",
|
|
|
- "/company/companyVoice/list"})
|
|
|
- public TableDataInfo companyVoiceMiscList() {
|
|
|
- return getDataTable(new ArrayList<>());
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyVoiceMobileService companyVoiceMobileService;
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyVoicePackageService companyVoicePackageService;
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyVoiceBlacklistService companyVoiceBlacklistService;
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyVoiceConfigService companyVoiceConfigService;
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyVoiceService companyVoiceService;
|
|
|
+
|
|
|
+ // ========== 号码管理 /company/companyVoiceMobile ==========
|
|
|
+ @GetMapping("/company/companyVoiceMobile/list")
|
|
|
+ public TableDataInfo companyVoiceMobileList(CompanyVoiceMobile param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoiceMobile> list = companyVoiceMobileService != null ?
|
|
|
+ companyVoiceMobileService.selectCompanyVoiceMobileList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ // ========== 通话套餐 /company/companyVoicePackage ==========
|
|
|
+ @GetMapping("/company/companyVoicePackage/list")
|
|
|
+ public TableDataInfo companyVoicePackageList(CompanyVoicePackage param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoicePackage> list = companyVoicePackageService != null ?
|
|
|
+ companyVoicePackageService.selectCompanyVoicePackageList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ // ========== 黑名单 /company/companyVoiceBlacklist ==========
|
|
|
+ @GetMapping("/company/companyVoiceBlacklist/list")
|
|
|
+ public TableDataInfo companyVoiceBlacklistList(CompanyVoiceBlacklist param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoiceBlacklist> list = companyVoiceBlacklistService != null ?
|
|
|
+ companyVoiceBlacklistService.selectCompanyVoiceBlacklistList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ // ========== 频率配置 /company/companyVoiceConfig ==========
|
|
|
+ @GetMapping("/company/companyVoiceConfig/list")
|
|
|
+ public TableDataInfo companyVoiceConfigList(CompanyVoiceConfig param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoiceConfig> list = companyVoiceConfigService != null ?
|
|
|
+ companyVoiceConfigService.selectCompanyVoiceConfigList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ // ========== 通话包 /company/companyVoice ==========
|
|
|
+ @GetMapping("/company/companyVoice/list")
|
|
|
+ public TableDataInfo companyVoiceList(CompanyVoice param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoice> list = companyVoiceService != null ?
|
|
|
+ companyVoiceService.selectCompanyVoiceList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
// ========== 短信模板 /company/companySmsTemp ==========
|
|
|
@@ -208,11 +256,17 @@ public class AdminCompanyBridgeController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ @Autowired(required = false)
|
|
|
+ private ICompanyDomainBindUserService companyDomainBindUserService;
|
|
|
+
|
|
|
// ========== 域名分配中间表 /company/companyBindUser ==========
|
|
|
@PreAuthorize("@ss.hasPermi('company:companyBindUser:list')")
|
|
|
@GetMapping("/company/companyBindUser/list")
|
|
|
- public TableDataInfo companyBindUserList() {
|
|
|
- return getDataTable(new ArrayList<>());
|
|
|
+ public TableDataInfo companyBindUserList(CompanyDomainBindUserParam param) {
|
|
|
+ startPage();
|
|
|
+ List<CompanyDomainBindUserVo> list = companyDomainBindUserService != null ?
|
|
|
+ companyDomainBindUserService.selectCompanyDomainBindUserList(param) : new ArrayList<>();
|
|
|
+ return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
// ========== 个微账号 /company/companyWx ==========
|