增加特色服务
This commit is contained in:
1 parent
a7908e0677
commit
14c305f518
13 files changed
+896
-333
No files matched your search
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user