39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
package com.rj.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.rj.dto.LbThirdIntegrationCredentialUpdateRequest;
|
|
import com.rj.entity.LbThirdIntegrationConfig;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 租户第三方集成配置服务
|
|
*/
|
|
public interface ILbThirdIntegrationConfigService extends IService<LbThirdIntegrationConfig> {
|
|
|
|
Map<String, Object> add(LbThirdIntegrationConfig entity);
|
|
|
|
Map<String, Object> update(LbThirdIntegrationConfig entity);
|
|
|
|
Map<String, Object> deleteById(String id);
|
|
|
|
Map<String, Object> pageQuery(Integer current,
|
|
Integer size,
|
|
String tenantId,
|
|
String providerCode,
|
|
Integer enabled);
|
|
|
|
Map<String, Object> getDetailById(String id);
|
|
|
|
/**
|
|
* 按租户 id 查询凭证配置(解密后返回明文,便于管理查看)。
|
|
*/
|
|
Map<String, Object> getCredentialStatusByTenantId(String tenantId);
|
|
|
|
/**
|
|
* 按租户 id 更新凭证列;至少需更新或清除一项凭证。
|
|
*/
|
|
Map<String, Object> updateCredentialByTenantId(
|
|
String tenantId, LbThirdIntegrationCredentialUpdateRequest request);
|
|
}
|