This commit is contained in:
CHIEFSOFT\ameye
2023-06-24 08:04:06 -04:00
parent 28ce7f47a0
commit 24db2521b9
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -3,7 +3,7 @@
namespace App\Controllers;
//use CodeIgniter\API\ResponseTrait;
//$routes->post('/en/wrench/api/v1/faq', 'WrenchFaq::apigate');
class WrenchFaq extends BaseController
{
@@ -12,6 +12,9 @@ class WrenchFaq extends BaseController
protected $db;
public $con_name = 'wrench_blog';
public function apigate(){
return $this->apiData();
}
private function apiData() {
/*
$this->db = \Config\Database::connect($this->con_name);