Added route for API

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-12 08:19:08 -04:00
parent 053a429cca
commit 9f9d1fa916
7 changed files with 60 additions and 2 deletions
+51
View File
@@ -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