adjust validate_request_agency
This commit is contained in:
parent
2edfbed4e9
commit
1bf6d75edd
|
|
@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
| a PHP script and you can easily do that on your own.
|
| a PHP script and you can easily do that on your own.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/backoffice';
|
$config['base_url'] = '/'; //'https://'.$_SERVER['SERVER_NAME'].'/backoffice';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,9 @@ defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest auto
|
||||||
/*
|
/*
|
||||||
* Microservices constants
|
* Microservices constants
|
||||||
*/
|
*/
|
||||||
define('WALLET_SERVICE_URL','https://test.ilink-app.com:8081');
|
// define('WALLET_SERVICE_URL','https://test.ilink-app.com:8081');
|
||||||
|
// define('WALLET_SERVICE_TOKEN','fywRtXSwEhHncwXaqn10wa9bJU9a63r2');
|
||||||
|
define('WALLET_SERVICE_URL','http://localhost:7082');
|
||||||
define('WALLET_SERVICE_TOKEN','fywRtXSwEhHncwXaqn10wa9bJU9a63r2');
|
define('WALLET_SERVICE_TOKEN','fywRtXSwEhHncwXaqn10wa9bJU9a63r2');
|
||||||
define('WALLET_SERVICE_EXTERNE_URL','https://test.ilink-app.com:8085');
|
define('WALLET_SERVICE_EXTERNE_URL','https://test.ilink-app.com:8085');
|
||||||
define('WALLET_SERVICE_EXTERNE_TOKEN','JeJMx6KNW1qo2h01rCVOLfX3f1nmcF2I');
|
define('WALLET_SERVICE_EXTERNE_TOKEN','JeJMx6KNW1qo2h01rCVOLfX3f1nmcF2I');
|
||||||
|
|
|
||||||
|
|
@ -77,8 +77,10 @@ $db['default'] = array(
|
||||||
'dsn' => '',
|
'dsn' => '',
|
||||||
'hostname' => 'localhost',
|
'hostname' => 'localhost',
|
||||||
'username' => 'root',
|
'username' => 'root',
|
||||||
'password' => '@iLink@2025',
|
// 'password' => '@iLink@2025',
|
||||||
'database' => 'iLink_preprod',
|
// 'database' => 'iLink_preprod',
|
||||||
|
'password' => 'songuinho',
|
||||||
|
'database' => 'iLink_world',
|
||||||
'dbdriver' => 'mysqli',
|
'dbdriver' => 'mysqli',
|
||||||
'dbprefix' => '',
|
'dbprefix' => '',
|
||||||
'pconnect' => FALSE,
|
'pconnect' => FALSE,
|
||||||
|
|
|
||||||
|
|
@ -2700,8 +2700,8 @@ class Gestion extends CI_Controller
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$result = json_decode($result, true);
|
$response_array = json_decode($result, true);
|
||||||
$merror_message = isset($result['error']) ? $result['error'] : 'Unknown error';
|
$merror_message = isset($response_array['error']) ? $response_array['error'] : 'Unknown error';
|
||||||
|
|
||||||
echo json_encode([
|
echo json_encode([
|
||||||
'success' => 'false',
|
'success' => 'false',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue