From 1c00b5608c0cb2662d5c2cdfb99d0e563283b338 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 5 Oct 2024 05:35:36 -0400 Subject: [PATCH] cchnage redid server --- www-api/app/Controllers/BaseController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www-api/app/Controllers/BaseController.php b/www-api/app/Controllers/BaseController.php index 356bd17c..2337a2cc 100644 --- a/www-api/app/Controllers/BaseController.php +++ b/www-api/app/Controllers/BaseController.php @@ -66,6 +66,11 @@ abstract class BaseController extends Controller $this->server_tag = $this->getSiteConfigurations("system.server_tag"); $this->micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.1 $this->user_server_name = $this->getSiteConfigurations("system.server_name"); // 'https://dev-users.wrenchboard.com'; + $appConfig = config('Cache'); + $appConfig->redis['host'] = $this->getSiteConfigurations("system.cache_host"); + + // var_dump($appConfig->redis['host']); + // exit(); //$this->cache_server = $this->getSiteConfigurations("system.cache_host"); // $redis = [