Added route for API
This commit is contained in:
@@ -9,8 +9,13 @@ PHP_BOOT_SCRIPTS=/cfgs/start.sh
|
||||
PHP_CRONTABS_PATH=/cfgs/cron
|
||||
#PHP_SESSION_HANDLER=redis
|
||||
#PHP_SESSION_PATH=tcp://redis.host:6379
|
||||
ENV_ID='DEV20231703-A2'
|
||||
HOME_PAGE_BACKGROUND='api_bk.jpg'
|
||||
|
||||
# private
|
||||
TEST_EMAIL=support@wrenchboard.com
|
||||
#NEWRELIC_LICENSE=newrelic_license
|
||||
#SENDGRID_API_KEY=sendgrid_api_key
|
||||
#SENDGRID_API_KEY=sendgrid_api_key
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -37,6 +37,57 @@ $routes->set404Override();
|
||||
// route since we don't have to scan directories.
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/apigate', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/generics', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/createuser', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/createmobileuser', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/completemobileuser', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/startresetpasword', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/userlogin', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/startjoblist', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/dashdata', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/getjobsdata', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/offerslist', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/activejoblist', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/loadprofile', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/account', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/message', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/pendingjob', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/paymenthx', 'WrenchApi::apigate');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/getjob', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/mybanklist', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sendmoney', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sendinterest', 'WrenchApi::apigate');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/sendmoneyfee', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/getpendingjobs', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/taskmessage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sendtaskmessage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/getwallets', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sitecontact', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/signupcountry', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/userscards', 'WrenchApi::apigate');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/couponhx', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/couponpending', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/couponredeem', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sendinterestmessage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/replyinterestmessage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/disableaccount', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/myjobs', 'WrenchApi::apigate');
|
||||
|
||||
|
||||
$routes->post('/en/wrench/api/v1/blogdata', 'WrenchBlog::apigate');
|
||||
$routes->post('/en/wrench/api/v1/blogitem', 'WrenchBlog::apigate');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Additional Routing
|
||||
|
||||
@@ -6,6 +6,8 @@ class Home extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return view('welcome_message');
|
||||
$data['envID'] = getenv('ENV_ID');
|
||||
$data['home_background'] = getenv('HOME_PAGE_BACKGROUND');
|
||||
return view('welcome_message',$data);
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user