mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-01-11 15:48:41 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
fdf0540875
commit
c243bffde9
|
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"id": 1002101001,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 0,
|
||||
"name": "Purchase",
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1002106001,
|
||||
"pid": "/backend/purchase",
|
||||
"pid": "/purchase",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Analysis",
|
||||
"uri": "{/lang}/backend/purchase/analysis?{?}",
|
||||
"uri": "{/prefix}purchase/analysis?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 15,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/purchase/invoice/create.*$' => [
|
||||
'^.*/purchase/invoice/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -17,7 +17,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/invoice/list.*$' => [
|
||||
'^.*/purchase/invoice/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -28,7 +28,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/article/list.*$' => [
|
||||
'^.*/purchase/article/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -39,7 +39,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/article/recommend.*$' => [
|
||||
'^.*/purchase/article/recommend.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseOrderRecommendation',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -50,7 +50,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/article/create.*$' => [
|
||||
'^.*/purchase/article/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -61,7 +61,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/article/profile.*$' => [
|
||||
'^.*/purchase/article/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user