using DOAN.Service; using Microsoft.AspNetCore.Mvc; using DOAN.Service.IService; using SqlSugar; namespace DOAN.Admin.WebApi.Controllers { /// /// 公共模块 /// [Route("tenant")] public class TenantController : BaseController { private ITenantService tenantService; public TenantController(ITenantService tenantService) { this.tenantService = tenantService; } /// /// 获取租户 /// /// [HttpGet("getlist")] public IActionResult GetALLList([FromBody] TenantList tenant) { var response = tenantService.GetALLList(tenant); return SUCCESS(response); } } }