升级 Knife4j 版本 , 增加租户管理的功能

This commit is contained in:
zhonghua1
2025-12-20 17:45:38 +08:00
parent 08bc957bd0
commit 7e12a154c5
6 changed files with 213 additions and 2 deletions

View File

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