diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 6e3e0e30..d35f2951 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -8,6 +8,7 @@ use CodeIgniter\Router\RouteCollection; */ $routes->post('/chat', 'ChatbotControllerNew::index'); $routes->get('/widget', 'ChatbotControllerNew::widget'); +$routes->get('/chatbottest', 'ChatbotControllerNew::chatbotest'); $routes->get('/chatbot', 'ChatbotControllerNew::chatbot'); $routes->get('/swagger', 'SwaggerController::index', ['filter' => 'authMVC']); diff --git a/app/Controllers/ChatbotControllerNew.php b/app/Controllers/ChatbotControllerNew.php index e4ff0d15..e60e74ef 100644 --- a/app/Controllers/ChatbotControllerNew.php +++ b/app/Controllers/ChatbotControllerNew.php @@ -146,9 +146,14 @@ class ChatbotControllerNew extends BaseController // } + public function chatbotest() + { + $this->loadLayout('chatbottest.php'); + } + public function chatbot() { - $this->loadLayout('chatbot.php'); + echo view('chatbot.php'); } public function widget() diff --git a/app/Views/chatbot.php b/app/Views/chatbot.php index 95bf5cde..4bd3db4b 100644 --- a/app/Views/chatbot.php +++ b/app/Views/chatbot.php @@ -4,81 +4,567 @@ Insurance ChatBot - - -

Welcome to Insurance ChatBot

- +

Loading...Please wait

+ + - - - - - + \ No newline at end of file diff --git a/app/Views/chatbottest.php b/app/Views/chatbottest.php new file mode 100644 index 00000000..95bf5cde --- /dev/null +++ b/app/Views/chatbottest.php @@ -0,0 +1,84 @@ + + + + + + Insurance ChatBot + + + + +

Welcome to Insurance ChatBot

+ + + + + + + + + +