This commit is contained in:
2023-01-21 19:08:51 -05:00
parent 4d06c8e1b0
commit 3bd5ea445a
6 changed files with 225 additions and 4 deletions
+39
View File
@@ -50,6 +50,45 @@ class Database extends Config
'port' => 3306,
];
public $mermsemr_blog = [
'DSN' => '',
'hostname' => '10.10.33.60',
'username' => 'mermsemr',
'password' => 'may12002',
'database' => 'blog_mermsemr_com',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug' => (ENVIRONMENT !== 'production'),
'charset' => 'utf8',
'DBCollat' => 'utf8_general_ci',
'swapPre' => '',
'encrypt' => false,
'compress' => false,
'strictOn' => false,
'failover' => [],
'port' => 3306,
];
public $mermsemr_site = [
'DSN' => '',
'hostname' => '10.10.33.60',
'username' => 'mermsemr',
'password' => 'may12002',
'database' => 'site_mermsemr_com',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug' => (ENVIRONMENT !== 'production'),
'charset' => 'utf8',
'DBCollat' => 'utf8_general_ci',
'swapPre' => '',
'encrypt' => false,
'compress' => false,
'strictOn' => false,
'failover' => [],
'port' => 3306,
];
/**
+5 -2
View File
@@ -48,8 +48,11 @@ $routes->post('/en/desktop/api/v2/myfit/contact', 'Myfit::contact');
$routes->get('/en/desktop/api/v2/myfit/pricing', 'Myfit::pricing');
//MYFIT USERS
$routes->post('/en/desktop/api/v2/myfituser/login', 'Myfituser::login');
$routes->post('/en/desktop/api/v2/myfituser/account', 'Myfituser::account');
$routes->post('/en/desktop/api/v2/myfituser/login', 'Myfituser::users');
$routes->post('/en/desktop/api/v2/myfituser/account', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/profile', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/myfeed', 'Myfituser::users');
/*
https://devapi.mermsemr.com/en/desktop/api/v2/myfit/country GET