增加特色服务

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
@@ -24,7 +24,12 @@ class NewsCenterController extends BaseController
*/
public function getCenterNews(): Json
{
// 从 BaseController 获取当前租户ID
$baseUrl = $this->request->get('baseUrl', '');
if (!empty($baseUrl)) {
$this->tenantId = BaseController::getTenantIdByDomain($baseUrl);
}
$tid = $this->getTenantId();
if (empty($tid)) {