diff --git a/Admin/Routes/console.php b/Admin/Routes/console.php new file mode 100644 index 0000000..45b4afe --- /dev/null +++ b/Admin/Routes/console.php @@ -0,0 +1,3 @@ + [ + [ + 'dest' => '\Modules\Marketing\Controller:viewMarketingPromotionList', + 'verb' => RouteVerb::GET, + 'result' => ViewType::HTML, + 'layout' => ViewLayout::MAIN, + ], + ], + '^.*/backend/marketing/promotion/create.*$' => [ + [ + 'dest' => '\Modules\Marketing\Controller:viewMarketingPromotionCreate', + 'verb' => RouteVerb::GET, + 'result' => ViewType::HTML, + 'layout' => ViewLayout::MAIN, + ], + ], + '^.*/backend/marketing/event/list.*$' => [ + [ + 'dest' => '\Modules\Marketing\Controller:viewMarketingEventList', + 'verb' => RouteVerb::GET, + 'result' => ViewType::HTML, + 'layout' => ViewLayout::MAIN, + ], + ], + '^.*/backend/marketing/event/create.*$' => [ + [ + 'dest' => '\Modules\Marketing\Controller:viewMarketingEventCreate', + 'verb' => RouteVerb::GET, + 'result' => ViewType::HTML, + 'layout' => ViewLayout::MAIN, + ], + ], +]; diff --git a/Admin/Routes/socket.php b/Admin/Routes/socket.php new file mode 100644 index 0000000..d80e21c --- /dev/null +++ b/Admin/Routes/socket.php @@ -0,0 +1,3 @@ + [['dest' => '\Modules\Marketing\Controller:viewMarketingPromotionList', 'method' => 'GET', 'type' => ViewLayout::MAIN],], - '^.*/backend/marketing/promotion/create.*$' => [['dest' => '\Modules\Marketing\Controller:viewMarketingPromotionCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],], - '^.*/backend/marketing/event/list.*$' => [['dest' => '\Modules\Marketing\Controller:viewMarketingEventList', 'method' => 'GET', 'type' => ViewLayout::MAIN],], - '^.*/backend/marketing/event/create.*$' => [['dest' => '\Modules\Marketing\Controller:viewMarketingEventCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],], - ]; - /** * @param RequestAbstract $request Request * @param ResponseAbstract $response Response