From 3eb269da561f4fe8caac6f9f5830b7af480dd750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Sat, 3 Aug 2024 10:14:17 +0800 Subject: [PATCH] 0803-1 --- common/libraries/market/Sylive_entity.php | 2 +- home/views/h5/market/sylive2/index.php | 2 +- market/controllers/api/sytopic/Topic.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/libraries/market/Sylive_entity.php b/common/libraries/market/Sylive_entity.php index 7e13b6bb..e88d0d4d 100644 --- a/common/libraries/market/Sylive_entity.php +++ b/common/libraries/market/Sylive_entity.php @@ -127,7 +127,7 @@ class Sylive_entity{ * @return int */ public function get_level_lists($organizationId,$data=[]){ - $row = $this->ci->market_sylive_organization_model->get(['organizationId'=>$organizationId],'organizationId,parentId,organizationName,logo'); + $row = $this->ci->market_sylive_organization_model->get(['organizationId'=>$organizationId, 'status' => 0],'organizationId,parentId,organizationName,logo'); if(!$row){ return $data; }else{ diff --git a/home/views/h5/market/sylive2/index.php b/home/views/h5/market/sylive2/index.php index 3990739a..ffff0626 100644 --- a/home/views/h5/market/sylive2/index.php +++ b/home/views/h5/market/sylive2/index.php @@ -1,7 +1,7 @@
-
+
请选择机构登录
您的账号存在多个机构
diff --git a/market/controllers/api/sytopic/Topic.php b/market/controllers/api/sytopic/Topic.php index daf32739..5492eb6d 100644 --- a/market/controllers/api/sytopic/Topic.php +++ b/market/controllers/api/sytopic/Topic.php @@ -184,7 +184,7 @@ class Topic extends BaseController $setJsonData['banner'] = ''; } $setJsonData['bg_color'] = $jsonData['bg_color'] ?: ''; - $addData = ['title' => $title, 'banner' => $banner, 'status' => 1, 'organizationId' => $organizationId, 'sharePhoto' => $sharePhoto, + $addData = ['title' => $title, 'banner' => $banner, 'organizationId' => $organizationId, 'sharePhoto' => $sharePhoto, 'shareTitle' => $shareTitle, 'timeStart' => $dateRange[0], 'timeEnd' => $dateRange[1], 'jsondata' => json_encode($setJsonData, JSON_UNESCAPED_UNICODE)]; $setShareImg && $addData['shareImg'] = $setShareImg; $addData['introduction'] = $introduction ?: '';