diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index f47dc5f4..87544cde 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -162,10 +162,12 @@ $routes->post('/en/wrench/api/v1/offerinterestlistmsg', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/resources', 'WrenchResources::website'); $routes->post('/en/wrench/api/v1/askresources', 'WrenchResources::aigate'); + $routes->get('/en/wrench/api/v1/blogdata/', 'WrenchBlog::website'); $routes->get('/en/wrench/api/v1/blogdata/(:any)', 'WrenchBlog::blogLimitedData/$1'); - +$routes->post('/en/wrench/api/v1/blogdata/', 'WrenchBlog::website'); +$routes->post('/en/wrench/api/v1/blogdata/(:any)', 'WrenchBlog::blogLimitedData/$1');