41 lines
983 B
PHP
41 lines
983 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
use CodeIgniter\API\ResponseTrait;
|
|
|
|
class WrenchHooks extends BaseController
|
|
{
|
|
|
|
// protected $db;
|
|
// public $con_name = 'wrench_blog';
|
|
// use ResponseTrait;
|
|
// protected $request;
|
|
public function __construct()
|
|
{
|
|
// $this->request = $request = \Config\Services::request();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$envID = getenv('ENV_ID');
|
|
}
|
|
|
|
|
|
public function stripes(){
|
|
|
|
log_message('critical', "WrenchHooks stripes");
|
|
|
|
}
|
|
public function flutter(){
|
|
|
|
$raw_json = file_get_contents('php://input');
|
|
$raw_array = json_decode($raw_json, true);
|
|
$in = $raw_array;
|
|
//7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5
|
|
log_message('critical', "WrenchHooks flutter");
|
|
log_message('critical', "WrenchHooks ***************************** flutter");
|
|
log_message('critical', "WrenchHooks-CALL PREPARE DATA".serialize($in) );
|
|
}
|
|
|
|
}
|