增加特色服务

This commit is contained in:
2026-03-20 09:12:57 +08:00
parent a7908e0677
commit 14c305f518
13 changed files with 896 additions and 333 deletions
+7 -2
View File
@@ -17,9 +17,14 @@ class BannerController extends BaseController
* 获取 Banner 列表
* @return Json
*/
public function getBanners(): Json
public function getBanners()
{
// 从 BaseController 获取当前租户ID
$baseUrl = $this->request->get('baseUrl', '');
if (!empty($baseUrl)) {
$this->tenantId = BaseController::getTenantIdByDomain($baseUrl);
}
$tid = $this->getTenantId();
if (empty($tid)) {