WrenchMarketImport
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
CONTAINER_PORT=9088
|
CONTAINER_PORT=9088
|
||||||
UID=1000
|
UID=1000
|
||||||
|
CI_ENV=development
|
||||||
|
# $arr["host"] = "10.10.10.23";
|
||||||
|
# $arr["name"] = "wrenchboard";
|
||||||
|
# $arr["user"] = "wrenchboard";
|
||||||
|
# $arr["pass"] = "wrenchboard";
|
||||||
|
# $arr["port"] = 5432;
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Example Environment Configuration file
|
# Example Environment Configuration file
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ namespace Config;
|
|||||||
|
|
||||||
use CodeIgniter\Database\Config;
|
use CodeIgniter\Database\Config;
|
||||||
|
|
||||||
|
include('config.'.$_SERVER['CI_ENV'].'.php');
|
||||||
|
//include 'config.development.php';
|
||||||
/**
|
/**
|
||||||
* Database Configuration
|
* Database Configuration
|
||||||
*/
|
*/
|
||||||
@@ -24,7 +26,35 @@ class Database extends Config
|
|||||||
*
|
*
|
||||||
* @var array<string, mixed>
|
* @var array<string, mixed>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public array $default = [
|
public array $default = [
|
||||||
|
'DSN' => '',
|
||||||
|
'hostname' => '10.20.30.60',
|
||||||
|
'username' => 'wrenchboard',
|
||||||
|
'password' => 'wrenchboard',
|
||||||
|
'database' => 'wrenchboard',
|
||||||
|
'DBDriver' => 'postgre',
|
||||||
|
'DBPrefix' => '',
|
||||||
|
'pConnect' => false,
|
||||||
|
'DBDebug' => true,
|
||||||
|
'charset' => 'utf8mb4',
|
||||||
|
'DBCollat' => 'utf8mb4_general_ci',
|
||||||
|
'swapPre' => '',
|
||||||
|
'encrypt' => false,
|
||||||
|
'compress' => false,
|
||||||
|
'strictOn' => false,
|
||||||
|
'failover' => [],
|
||||||
|
'port' => 3306,
|
||||||
|
'numberNative' => false,
|
||||||
|
'dateFormat' => [
|
||||||
|
'date' => 'Y-m-d',
|
||||||
|
'datetime' => 'Y-m-d H:i:s',
|
||||||
|
'time' => 'H:i:s',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
public array $default00 = [
|
||||||
'DSN' => '',
|
'DSN' => '',
|
||||||
'hostname' => 'localhost',
|
'hostname' => 'localhost',
|
||||||
'username' => '',
|
'username' => '',
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$arr = array();
|
||||||
|
//$arr["host"] = "10.20.30.27";
|
||||||
|
//$arr["host"] = "10.10.10.23";
|
||||||
|
$arr["host"] = "10.20.30.60";
|
||||||
|
$arr["name"] = "wrenchboard";
|
||||||
|
$arr["user"] = "wrenchboard";
|
||||||
|
$arr["pass"] = "wrenchboard";
|
||||||
|
$arr["port"] = 5432;
|
||||||
|
|
||||||
|
|
||||||
|
define('LEGACY_BACKEND_ENDPOINT','http://backend.wrenchboard.api.test');
|
||||||
|
//define('EXTENSTION_API_URL','https://oameye.work.wrenchboard.com/svs/bko');
|
||||||
|
//define('EXTENSTION_API_URL','http://10.204.5.100:9083/svs/bko');
|
||||||
|
define('EXTENSTION_API_URL','https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/bko');
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$arr = array();
|
||||||
|
//$arr["host"] = "10.20.30.27";
|
||||||
|
$arr["host"] = "172.31.4.60";
|
||||||
|
$arr["name"] = "wrenchboard";
|
||||||
|
$arr["user"] = "wrenchboard";
|
||||||
|
$arr["pass"] = "wrenchboard";
|
||||||
|
$arr["port"] = 5432;
|
||||||
|
|
||||||
|
define('LEGACY_BACKEND_ENDPOINT','backend.wrenchboard.api.live');
|
||||||
|
//define('EXTENSTION_API_URL','https://dashboard.wrenchboard.com/svs/bko'); //
|
||||||
|
// define('EXTENSTION_API_URL','http://172.16.4.100:9083/svs/bko');
|
||||||
|
define('EXTENSTION_API_URL','http://172.16.4.25:9083/svs/bko');
|
||||||
@@ -10,8 +10,10 @@ class Home extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function promoIndex($promo,$promoOwner=''):string{
|
public function promoIndex($promo,$promoOwner=''):string{
|
||||||
echo $promo;
|
// echo $promo;
|
||||||
echo $promoOwner;
|
// echo $promoOwner;
|
||||||
|
$in["promo"] = $promo;
|
||||||
|
$in["promo_owner"] = $promoOwner;
|
||||||
|
|
||||||
return view('welcome_message');
|
return view('welcome_message');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user