升级 Knife4j 版本 , 增加租户管理的功能
This commit is contained in:
@@ -47,5 +47,26 @@ public interface ITenantService extends IService<Tenant> {
|
||||
Integer status, String contactName,
|
||||
String contactPhone, String expireStartTime,
|
||||
String expireEndTime);
|
||||
|
||||
/**
|
||||
* 新增租户
|
||||
* @param tenant 租户信息
|
||||
* @return 操作结果
|
||||
*/
|
||||
Map<String, Object> addTenant(Tenant tenant);
|
||||
|
||||
/**
|
||||
* 更新租户信息
|
||||
* @param tenant 租户信息
|
||||
* @return 操作结果
|
||||
*/
|
||||
Map<String, Object> updateTenant(Tenant tenant);
|
||||
|
||||
/**
|
||||
* 根据ID删除租户
|
||||
* @param id 租户ID
|
||||
* @return 操作结果
|
||||
*/
|
||||
Map<String, Object> deleteTenant(String id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user